Gaiad manager (
gm) is a command-line tool (CLI) that helps manage local
Follow the instructions
- Bourne shell (
stomlinstalled in your PATH (put them in
- For shell-completion Bourne Again Shell (
bash) for the local user
- Install the dependencies.
# You might need sudo permissions and create the `usr/local/bin` directory curl -Lo /usr/local/bin/sconfig https://github.com/freshautomations/sconfig/releases/download/v0.1.0/sconfig_darwin_amd64 curl -Lo /usr/local/bin/stoml https://github.com/freshautomations/stoml/releases/download/v0.7.0/stoml_darwin_amd64 chmod 755 /usr/local/bin/sconfig chmod 755 /usr/local/bin/stoml
curl -Lo /usr/local/bin/sconfig https://github.com/freshautomations/sconfig/releases/download/v0.1.0/sconfig_linux_amd64 curl -Lo /usr/local/bin/stoml https://github.com/freshautomations/stoml/releases/download/v0.7.0/stoml_linux_amd64 chmod 755 /usr/local/bin/sconfig chmod 755 /usr/local/bin/stoml
git clone https://github.com/informal/ibc-rs ibc-rs/scripts/gm/bin/gm install
Alternatively, you can create the folder
$HOME/.gm/bin and copy the files from
scripts/gm/bin in there.
source $HOME/.gm/bin/shell-supportto a file that executes when a new terminal window comes up (
- (Optional) Enable auto-completion On MacOS:
# Note: zsh is the default shell on MacOS, so no need to run this unless you explicitly use bash brew install bash-completion
apt install bash-completion || yum install bash-completion
- Restart your terminal
shell-support script allows bash-completion as well as creating a
gm alias, so you don't need to add more
entries to your PATH environment variable. If you don't want to use this, you can always just add
Description: This file contains all the high-level node configuration that
gm is aware of. Note that all entries under
[global] are also valid entries under any
[node] header, and can be used to override the global entries for specific nodes/validators.
Entries: All entries are defined and documented in the
scripts/gm/gm.toml example configuration file.
Copy and paste below to
The following configuration you need to specify 2
hermes will know about these chains.
[global] add_to_hermes = false auto_maintain_config = true extra_wallets = 2 gaiad_binary = "~/go/bin/gaiad" hdpath = "" home_dir = "$HOME/.gm" ports_start_at = 27000 validator_mnemonic = "" wallet_mnemonic = "" [global.hermes] binary = "./hermes" #change this path according to your setup config = "$HOME/.hermes/config.toml" log_level = "info" telemetry_enabled = true telemetry_host = "127.0.0.1" telemetry_port = 3001 [ibc-0] ports_start_at = 27010 [ibc-1] ports_start_at = 27020 [node-0] add_to_hermes = true network = "ibc-0" ports_start_at = 27030 [node-1] add_to_hermes = true network = "ibc-1" ports_start_at = 27040
In the next section we will configure hermes and start local chains using
NOTE: Go to this page for more detils about Gaiad Manager