|
| 1 | +# The global section has parameters that apply globally to the relayer operation. |
| 2 | +[global] |
| 3 | +log_level = 'info' |
| 4 | + |
| 5 | +# Specify the mode to be used by the relayer. [Required] |
| 6 | +[mode] |
| 7 | + |
| 8 | +# Specify the client mode. |
| 9 | +[mode.clients] |
| 10 | +enabled = false |
| 11 | +refresh = true |
| 12 | +misbehaviour = false |
| 13 | + |
| 14 | +# Specify the connections mode. |
| 15 | +[mode.connections] |
| 16 | +enabled = false |
| 17 | + |
| 18 | +# Specify the channels mode. |
| 19 | +[mode.channels] |
| 20 | +enabled = false |
| 21 | + |
| 22 | +# Specify the packets mode. |
| 23 | +[mode.packets] |
| 24 | +enabled = true |
| 25 | +clear_interval = 200 |
| 26 | +clear_on_start = true |
| 27 | +tx_confirmation = true |
| 28 | + |
| 29 | +# The REST section defines parameters for Hermes' built-in RESTful API. |
| 30 | +# https://hermes.informal.systems/rest.html |
| 31 | +[rest] |
| 32 | +enabled = true |
| 33 | +host = '127.0.0.1' |
| 34 | +port = 3000 |
| 35 | + |
| 36 | +[telemetry] |
| 37 | +enabled = true |
| 38 | +host = '127.0.0.1' |
| 39 | +port = 3001 |
| 40 | + |
| 41 | +# |
| 42 | +# Chain configuration Osmosis |
| 43 | +# |
| 44 | + |
| 45 | +[[chains]] |
| 46 | +id = 'osmosis-1' |
| 47 | +rpc_addr = 'http://127.0.0.1:26657' |
| 48 | +grpc_addr = 'http://127.0.0.1:9090' |
| 49 | +websocket_addr = 'ws://127.0.0.1:26657/websocket' |
| 50 | + |
| 51 | +rpc_timeout = '20s' |
| 52 | +account_prefix = 'osmo' |
| 53 | +key_name = 'osmosis-relayer' |
| 54 | +address_type = { derivation = 'cosmos' } |
| 55 | +store_prefix = 'ibc' |
| 56 | +default_gas = 100000 |
| 57 | +max_gas = 1000000 |
| 58 | +gas_price = { price = 0.000, denom = 'uosmo' } |
| 59 | +gas_adjustment = 0.2 |
| 60 | +max_msg_num = 30 |
| 61 | +max_tx_size = 1800000 |
| 62 | +clock_drift = '15s' |
| 63 | +max_block_time = '10s' |
| 64 | +trusting_period = '14days' |
| 65 | +memo_prefix = 'Relayed by Polkachu' |
| 66 | +trust_threshold = { numerator = '1', denominator = '3' } |
| 67 | + |
| 68 | +[chains.packet_filter] |
| 69 | +policy = 'allow' |
| 70 | +list = [ |
| 71 | + ['transfer', 'channel-113'], # Chihuahua |
| 72 | +] |
| 73 | + |
| 74 | +# |
| 75 | +# Chain configuration Chihuahua |
| 76 | +# |
| 77 | + |
| 78 | +[[chains]] |
| 79 | +id = 'chihuahua-1' |
| 80 | +# API access to Chihuahua node with indexing |
| 81 | +rpc_addr = 'http://127.0.0.1:29657' |
| 82 | +grpc_addr = 'http://127.0.0.1:29090' |
| 83 | +websocket_addr = 'ws://127.0.0.1:29657/websocket' |
| 84 | + |
| 85 | +rpc_timeout = '20s' |
| 86 | +account_prefix = 'chihuahua' |
| 87 | +key_name = 'chihuahua-relayer' |
| 88 | +address_type = { derivation = 'cosmos' } |
| 89 | +store_prefix = 'ibc' |
| 90 | +default_gas = 100000 |
| 91 | +max_gas = 3500000 |
| 92 | +gas_price = { price = 0.05, denom = 'uhuahua' } |
| 93 | +gas_adjustment = 0.2 |
| 94 | +max_msg_num = 30 |
| 95 | +max_tx_size = 1800000 |
| 96 | +clock_drift = '10s' |
| 97 | +max_block_time = '10s' |
| 98 | +trusting_period = '14days' |
| 99 | +memo_prefix = 'Relayed by Polkachu' |
| 100 | +trust_threshold = { numerator = '1', denominator = '3' } |
| 101 | + |
| 102 | +[chains.packet_filter] |
| 103 | +policy = 'allow' |
| 104 | +list = [ |
| 105 | + ['transfer', 'channel-7'], # Osmosis |
| 106 | +] |
0 commit comments