IBC Relayers
Last updated
Last updated
By setting up the IBC relayer, you can create new connections and channels of IBC between Sunrise and other blockchains.
You can see details .
First, install
You can see details .
First, install
Then, run the commands below:
First, you need a wallet with enough funds on both chains. This tutorial assumes that you already have wallets created on the chains you want to relay on, and that these wallets have funds allocated to each of them.
The following settings are not required for mainnets that already have an established IBC channel. Follow only if you are starting a new connection.
Create a connection
First, create a client on ibc-1
tracking the state of ibc-0
. It will be assigned 07-tendermint-0 as its identifier:
Create a connection
After creating clients on both chains, you have to establish a connection between them. Both chains will assign connection-0 as the identifier of their first connection:
If the command runs successfully, it should output the connection ID
.
Channel identifiers
Finally, after the connection has been established, you can now open a new channel on top of it. Both chains will assign channel-0 as the identifier of their first channel:
If the command runs successfully, it should output the channel IDs of both chains.
Add these to .hermes/config.toml
Once the configuration is complete, you can start the relayer with the following command.
Recommend setting SystemD to run automatically after reboot.
The command hermes config auto provides a way to automatically generate a configuration file for chains in the :
You must set each parameter yourself for the testnet. See the for more details.