Orchestrator:
Clone orchestrator.env.example to orchestrator.mainnet.env. It contains the following variables:
- ADDRESS_PREFIX: DO NOT MODIFY THIS VALUE. Leave it "cudos" as it is in the example.
- FEES: The amount of fees, with acudos suffix, that are paid by the orchestrator when he iteracts with the blockchain. The value must be large enough to ensure that a transaction will be included by some validator in a block. Example: FEES="1000acudos"
- GRPC: DO NOT MODIFY THIS VALUE. Leave it empty as it is in the example.
- ETHRPC: Address to the ethereum full node. Example: ETHRPC="http://43.14.14.12:8545"
- CONTRACT_ADDR: This is the gravity contract address. You can get the gravity smart contract address from the result of ./launcher/gravity.sh (For more information when and how it can be executed see the readme of ./launcher folder)
- COSMOS_ORCH_MNEMONIC: This is the mnemonic address of orchestrator's wallet. You can get one from ./launcher/exports/orchs.mnemonic USE EACH MNEMONIC ONLY ONCE. DO NOT USE THE FIRST MNEMONIC FROM THE FILE, BECAUSE IT HAS ALREADY BEEN USED BY ROOT-VALIDATOR. In order to have these mnemonics you must execute ./launcher/gravity.sh (For more information when and how it can be executed see the readme of ./launcher folder)
- ETH_PRIV_KEY_HEX: The private key of the address defined in ORCH_ETH_ADDRESS of validator.mainnet.env. Example: ETH_PRIV_KEY_HEX="ae1341352513513a7f9a9a7a9a9a08a6a4a5f6ea9204135f1f3e1a3b1dae413e"
Ensure that it has execute permission and then start the script from ./constructor folder
sudo ./src/gravity.sh <name_of_the_node (simillar to ./init and ./start)>