Install Hermes Relayer
Setup demonstrates how to setup Hermes relayer and configure it to relay assets between LumenX and Osmosis chains.
Pre-requisites
All steps were executed and tested on:
Ubuntu 22.04 LTS
Create user account
adduser relayerRequired packages
sudo apt install make clang pkg-config libssl-dev build-essential git jq llvm libudev-dev -yRust installation
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/envNOTE: Install Rust as relayer user created earlier
Relayer build & installation
git clone https://github.com/informalsystems/ibc-rs.git && \
cd ibc-rs && \
git checkout v1.3.0 && \
cargo build --release --bin hermesHermes configuration
Create folder for Hermes configuration
Then populate ${HOME}/.hermes/config.toml with following content:
NOTE: Please note that apropriate addresses and ports for RPC, gRPC and WebSocket services must be adjusted accordingly to point to nodes providing those services.
Add relayer keys
NOTE: files lumenx.txt and osmosis.txt contain mnemonic for wallet which will be used for relayer fees. Wallets for relayer must have some amount of coins prior to starting relayer. Otherwise relayer will not be able to relay any transactions
Create and start Hermes service
Service file /etc/systemd/system/hermes.service should have at least following content:
Last updated