Basic node management
Start and stop your node, test whether your blockchain is downloaded. Backup your keys and chain data. Create an account, check your AXL balance, get AXL tokens from the faucet.
- Configure your environment as per CLI configuration and Node configuration.
- Install lz4 (opens in a new tab)
- Ensure AXELARD_HOME variable is set in your current session. See https://docs.axelar.dev/node/config-node#home-directory (opens in a new tab) (example AXELARD_HOME="$HOME/.axelar").
Start your Axelar node
You may wish to redirect log output to a file (your command will be launched in background):
$AXELARD_HOME/bin/axelard start --home $AXELARD_HOME >> $AXELARD_HOME/logs/axelard.log 2>&1 &
View your logs in real time:
tail -f $AXELARD_HOME/logs/axelard.log
Test whether your blockchain is downloaded
Eventually your Axelar node will download the entire Axelar blockchain and exit
catching_up mode. At that time your logs will show a new block added to the blockchain every 5 seconds.
You can test whether your Axelar node has exited
Look for the field
true: you are still downloading the blockchain.
false: you have finished downloading the blockchain.
Stop your Axelar node
Stop your currently running Axelar node:
pkill -f "axelard start"
Check your Axelar node status
ps aux | grep "axelard start"
No process should be running.
Backup and restore your node and validator keys
Each time you start your Axelar node
axelard will look for the following files in
node_key.json: The p2p identity of your node. Back this up if this is a seed node.
priv_validator_key.json: Validator’s Tendermint consensus key. Back this up if this is a validator node.
These files will be created if they do not already exist. You can restore them from a backup simply by placing them in
$AXELARD_HOME/config before starting your node.