Relayer

Relayers are in charge of delivering and tracking IBC packets.

Hermes

Prerequisites

  • Rust 1.72 +

Clone Repository

Open a terminal and clone Hermes repository.

git clone https://github.com/informalsystems/hermes.git

Change to the repository directory.

cd hermes

Install and Setup Hermes

cargo install --path ./crates/ibc-relayer-cli

# check installed herems
hermes --version

# create working directory for herems
mkdir ~/.hermes

# copy default config.toml to working directory
cp ./config.toml ~/.hermes/config.toml

Update Chain Configs

Append following chain configs to ~/.hermes/config.toml and remove pre-existing ibc-0 & ibc-1 chain configs. You need to replace all config sections with <> to real values.

You are highly recommended to use your own RPC endpoints for both l1 and l2.

Create Relayer Key

You need to fund the relayer account before setting the keys on both L1 and L2.

Channel transfer channel

Start Hermes

Last updated