Node configuration

Prerequisites

  • Operating system: MacOS(x86 intel chip) or Ubuntu (tested on 18.04).
  • Hardware: 4 cores, 8-16GB RAM, 512 GB drive, arm64 or amd64. Recommended 6-8 cores, 16-32 GB RAM, 1 TB+ drive.
  • Increase the maximum number of open files on your system. Example: ulimit -n 16384. You may wish to add this command to your shell profile so that you don’t need to execute it next time you restart your machine.
  • CLI configuration.
πŸ’‘

Tip: Planning to run your own validator? Validators have different hardware requirements. See Validator setup.

Download binaries and initialize configuration

Clone the axelerate-community repo:

git clone https://github.com/axelarnetwork/axelarate-community.git
cd axelarate-community

Run setup-node.sh to download the axelard binary and configure your node:

./scripts/setup-node.sh -n [mainnet|testnet]

Some additional flags:

  • -a : Version of axelard.
  • -d : Home directory path.
  • --help : Print a complete list of flags.

Verifying Binaries

By default, the binary signatures are downloaded and the binary is verified using the axelardev PGP key. To verify the binary manually, you can download the PGP signature and verify using the following commands:

curl https://keybase.io/axelardev/key.asc | gpg --import
gpg --verify [axelard_binary_signature_path] [axelard_binary_path]

On github the signatures are attached to the releases. To download the signatures from the axelar-releases AWS Bucket, you can add .asc to the end of the binary URL. For example, if the path of the binary is:

https://axelar-releases.s3.us-east-2.amazonaws.com/axelard/v0.26.0/axelard-darwin-arm64-v0.26.0

The path for the signature will be:

https://axelar-releases.s3.us-east-2.amazonaws.com/axelard/v0.26.0/axelard-darwin-arm64-v0.26.0.asc

Home directory

By default the setup-node.sh script sets the home directory for your node as follows:

NetworkHome directory path
mainnet$HOME/.axelar
testnet$HOME/.axelar_testnet

On a fresh install setup-node.sh puts the following in your node’s home directory:

.axelar
β”œβ”€β”€ bin
β”‚Β Β  β”œβ”€β”€ axelard -> /Users/gus/.foo/bin/axelard-vx.y.z
β”‚Β Β  └── axelard-vx.y.z
β”œβ”€β”€ config
β”‚Β Β  β”œβ”€β”€ app.toml
β”‚Β Β  β”œβ”€β”€ config.toml
β”‚Β Β  β”œβ”€β”€ genesis.json
β”‚Β Β  └── seeds.toml
└── logs
Edit this page