https://github.com/autonomoussoftware/metronome-validator
https://github.com/autonomoussoftware/metronome-validator
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/autonomoussoftware/metronome-validator
- Owner: autonomoussoftware
- Created: 2019-06-03T19:33:18.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-05-10T12:43:04.000Z (almost 5 years ago)
- Last Synced: 2025-04-08T10:52:12.192Z (10 months ago)
- Language: JavaScript
- Size: 2.18 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Metronome off-chain validator
Metronome off chain validators to validate export receipt and attest the same in destination chain.
### Prerequisites
1. Full Synced ETH and ETC node.
2. Docker
3. Validator's address must be added as whitelist validators in smart contract.
4. Must have ether to pay for gas cost of attestation
### Setup & Installing
Testnet and Mainet:
1. Create metronome validators image using command below command.
docker build -t metronome-validator
2. Set following env variables
eth_http_url=\
eth_ws_url=\
etc_http_url=\
etc_ws_url=\
eth_validator_address=\
etc_validator_address=\
walletMnemonic=\
3. Generate mnemonic phrase using offline script available [here](https://github.com/autonomoussoftware/mnemonic-generator). 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.
4. Execute below command to run validator container
docker-compose up
### License
MIT