Metronome off chain validators to validate export receipt and attest the same in destination chain.
- Full Synced ETH and ETC node.
- Docker
- Validator's address must be added as whitelist validators in smart contract.
- Must have ether to pay for gas cost of attestation
Testnet and Mainet:
-
Create metronome validators image using command below command.
docker build -t metronome-validator
-
Set following env variables
eth_http_url=<ETH node http url:port>
eth_ws_url=<ETH node ws url:port>
etc_http_url=<ETC node http url:port>
etc_ws_url=<ETC node ws url:port>
eth_validator_address=<address>
etc_validator_address=<address>
walletMnemonic=<mnemonic phrase>
-
Generate mnemonic phrase using offline script available here. Use the address in etc_validator_address, eth_validator_address. One mnemonic phrase can be used for both eth, etc. For more information about mnomeinic phrase refer link https://iancoleman.io/bip39.
-
Execute below command to run validator container
docker-compose up
MIT