Skip to main content

Set up your work environment

On this page, you can find helpful links to set up your work environment.

Dependencies

In this section, you can find all you need to install:

jq

Install jq following the instructions on its website. Test if it is installed by running the following command:

jq --version

At the moment of writing this tutorial, the version of jq used was 1.6.

gm

The gaiad manager (gm) is a configurable command-line tool (CLI) that helps manage local gaiad networks. It can be used to easily and quickly run a local setup of multiple blockchains. Follow the installation steps here.

ibc-go simd

Download the simd binary from the v8.1.0 release. This chain binary has the Fee Middleware already wired up and wrapping the ICS 20 transfer application. If you want to know how to wire up the Fee Middleware, please read this section from the Fee Middleware tutorial.

Hermes

Install Hermes relayer version v1.9.0 via cargo following the instructions on the Hermes website or by using the command below.

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

Test if Hermes is installed by running the following command:

hermes version

Folder structure

This tutorial assumes the following folder structure:

testing
├── bin
│ ├── chain1
│ │ ├── simd
│ │ └── proposal.json
│ └── chain2
│ └── simd
├── gm
└── hermes
├── hermes
└── config.toml

simd if the chain binary that will be used to run 2 blockchains (chain1 and chain2). THe folder gm will contain the data folders for both blockchains.