RLY

Go Relayer (RLY) - Strangelove

Make sure you have installed go.

1. Install rly

Clone the repository, checkout the latest stable release and install rly

git clone https://github.com/cosmos/relayer.git
cd relayer && git checkout v2.4.0
make install

2. Initialize the config file

Run the following command to initialize the configuration in ~/.relayer/config/config.yaml

rly config init

3. Configure RLY

To set up the RLY config file You can add the respective channels and chains using the Chain registry queries:

rly chains add secretnetwork
rly chains add osmosis

rly fetch paths osmosis-secretnetwork

Or open the generated ~/.relayer/config/config.yaml file, and copy-paste the sample configuration below and adjust it to point to the RPC endpoints of your Secret and Osmosis full nodes:

Now you need to add a new key for your relayer or import an existing one to use to sign and relay IBC transactions. Adding a new key happens with the following command:

If you already have a private key and want to restore it from your mnemonic you can use the restore subcommand.

If you specify a different [key-name] from default you would need to edit the config.yaml and change the key parameter value to the label that you’ve chosen.

Start RLY

If your nodes are fully synced, feel free to start the rly daemon:

Last updated

Was this helpful?