Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.76 KB

File metadata and controls

23 lines (16 loc) · 1.76 KB

Gravity module

Config

Orchestrator:

Clone orchestrator.env.example to orchestrator.mainnet.env. It contains the following variables:

  1. ADDRESS_PREFIX: DO NOT MODIFY THIS VALUE. Leave it "cudos" as it is in the example.
  2. 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"
  3. GRPC: DO NOT MODIFY THIS VALUE. Leave it empty as it is in the example.
  4. ETHRPC: Address to the ethereum full node. Example: ETHRPC="http://43.14.14.12:8545"
  5. 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)
  6. 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)
  7. 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"

Usage

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)>