IBC Relayer
1. Configure Hermes
# ~/.hermes/config.toml
[[chains]]
id = 'nomic-stakenet-3'
rpc_addr = 'http://127.0.0.1:26657'
event_source = { mode = 'pull' }
grpc_addr = 'http://127.0.0.1:9001'
rpc_timeout = '10s'
account_prefix = 'nomic'
key_name = 'testkey'
store_prefix = 'ibc'
max_gas = 40000000
gas_price = { price = 0.001, denom = 'stake' }
clock_drift = '20s'
proof_specs = '''
[
{
"inner_spec": {
"child_order": [
0,
1,
2
],
"child_size": 32,
"empty_child": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"min_prefix_length": 1,
"max_prefix_length": 1,
"hash": 6
},
"leaf_spec": {
"hash": 6,
"prehash_key": 0,
"prehash_value": 0,
"length": 4,
"prefix": "AA"
},
"max_depth": 0,
"min_depth": 0
},
{
"inner_spec": {
"child_order": [
0
],
"child_size": 32,
"empty_child": "",
"min_prefix_length": 0,
"max_prefix_length": 0,
"hash": 6
},
"leaf_spec": {
"hash": 6,
"prehash_key": 0,
"prehash_value": 0,
"length": 0,
"prefix": ""
},
"max_depth": 0,
"min_depth": 0
}
]
'''
[[chains]]
id = 'osmosis-1'
rpc_addr = 'http://127.0.0.1:26757'
grpc_addr = 'http://127.0.0.1:9090'
websocket_addr = 'ws://127.0.0.1:26757/websocket'
rpc_timeout = '10s'
account_prefix = 'osmo'
key_name = 'osmosis'
address_type = { derivation = 'cosmos' }
store_prefix = 'ibc'
default_gas = 5000000
max_gas = 15000000
gas_price = { price = 0.0026, denom = 'uosmo' }
gas_multiplier = 1.1
max_msg_num = 20
max_tx_size = 209715
clock_drift = '20s'
max_block_time = '10s'
trusting_period = '10days'
trust_threshold = { numerator = '1', denominator = '3' }
[chains.packet_filter]
policy = 'allow'
list = [
['transfer', 'channel-5555'], # nomic-stakenet-3
]2. Run gRPC server
3. Fund relayer with nBTC
4. (Optional) Relay operator keys
Other notes
Channel ports
Manual clearing
Last updated

