IBC Relayers

IBC リレイヤーを設定することで、Sunrise と他のブロックチェーン間で新しい IBC の接続やチャネルを作成することができます。

Go リレイヤーを使用したリレイヤーの設定(推奨)

詳細はここで確認できます。

まず、Goをインストールしてください。

Rust リレイヤーの Hermes を使用したリレイヤーの設定(非推奨)

まず、Rustをインストールしてください。

次に、以下のコマンドを実行してください。

sudo apt update && sudo apt upgrade -y
sudo apt install librust-openssl-dev build-essential git -y

cargo install ibc-relayer-cli --bin hermes --locked
hermes version

echo word1 ... word12or24 > ~/mnemonic.txt

config の設定

Under construction.

daemon の設定

sudo tee /etc/systemd/system/hermes.service > /dev/null <<EOF
[Unit]
  Description=Hermes relayer daemon
  After=network-online.target
[Service]
  User=$USER
  ExecStart=$HOME/.cargo/bin/hermes start
  Restart=on-failure
  RestartSec=3
  LimitNOFILE=4096
[Install]
  WantedBy=multi-user.target
EOF
sudo systemctl enable hermes
sudo systemctl daemon-reload
sudo systemctl restart hermes

daemon のモニタリング

journalctl -u hermes.service -f

Clients and Connections

Last updated