Relayers in Core are responsible for relaying BTC block headers onto the network via the on-chain light client. Relayers must both register and pass verification in order to receive rewards.
Fill in your private key to core_config.private_key.
Edit btc_config.rpc_addrs, fill in btc rpc address. Modify sleep_second, which is the interval to refresh btc highestHeight. Modify data_seed_deny_service_threshold, which is the interval to send telegram alert when refreshing btc highestHeight fails.
Edit core_config.providers, fill in core rpc address. Modify sleep_second, which is the interval to refresh core highestHeight. Modify data_seed_deny_service_threshold, which is the interval to send telegram alert when refreshing core highestHeight fails.
If gas_limit is not enough, gas_increase will be added and a retry will be taken.
Recursion_height is the number of blocks to go back and check on btc network based on the newest height.
Transfer enough CORE to the relayer account.
100 CORE as relayer registration fees.
More than 10 CORE as transaction fees.
Send telegram message when the balance of relayer account is too low. This is an example config: