Running a Relayer

Hermes Relayer Tutorial

In this tutorial will be provided information how easy and fast setup Hermes IBC relayer.

Hermes Official Documentation: https://hermes.informal.systems/

Pre-requisites:

Add system user for Hermes:

adduser hermes
usermod -aG sudo hermes
sudo apt update && sudo apt upgrade -y
sudo apt install librust-openssl-dev build-essential git -y

Install Rust (https://www.rust-lang.org/tools/install):

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Hermes Installation

git clone https://github.com/informalsystems/ibc-rs.git hermes
cd hermes
git checkout v0.13.0   ### Can check latest version https://hermes.informal.systems/installation.html#install-by-downloading
cargo build --release
sudo cp target/release/hermes /usr/bin

Hermes Configuration

Make Hermes config directory:

Create default Hermes configuration, in this example are created IBC relayer between Stargaze <-> Osmosis and Stargaze <-> Juno.

Don't forget to change ip address to your RPC service if it's not hosted on local VPS and "memo_prefix = ' IBC service'"

You can validate your Hermes configuration file with:

Add your relaying-wallets to Hermes' keyring:

Best practice is to use the same mnemonic over all networks, do not use your relaying-addresses for anything else because it might lead to mismatched account sequence errors.

Final steps

Create daemon service file:

Start Hermes service:

Last updated