Companion is a blockchain communication tool that ensures secure data submission and approval monitoring between private Ethereum blockchains and business servers.
communicate between private blockchain and business server
This tool is used to facilitate secure communication and data verification between private Ethereum blockchains and external business servers, ensuring that data submissions are confirmed by a majority of nodes before acceptance. It is ideal for organizations running private blockchain networks that require multi-node consensus and event log monitoring for approval workflows and transaction authorizations.
Ensure that the keystore passwords are encrypted and stored securely in the config.json file; the system requires manual password input at startup to decrypt them. Proper funding of keystores with Ether is necessary to cover contract creation costs. The tool relies on multi-node consensus (e.g., 2/3 majority) to validate data submissions, which helps prevent errors due to blockchain forks.
Initialize by creating oracle and sink smart contracts.
Prepare keystore files for contract authorizers and fund them with Ether for contract creation fees.
Authorize each node's authorizer to operate the oracle smart contract.
Encrypt the keystore password using this tool and write the encrypted password along with initialization outputs into the config.json file.
Configure the proxy connection address, port, SSL public key, and certificate in the config file.
Start the program.
./companion help
Displays a list of available commands or help for a specific command.
companion start
Starts the companion manager service.
companion stop
Stops the companion manager service.