Basic node management
Stop your node, backup your chain data, resume your node. Check your AXL balance, get AXL tokens from the faucet.
Important: The Axelar network is under active development. Use at your own risk with funds you're comfortable using. See Terms of use.
Prerequisites
You have launched your Axelar node as per Quick sync. Perhaps you have not yet completed downloading the blockchain.
Stop your Axelar node
Stop your currently running Axelar node:
kill -9 $(pgrep -f "axelard start")
Backup your chain data
Caution: Your node must be stopped in order to properly backup chain data.
cp -r ~/.axelar ~/.axelar_mainnet_backup
Resume your Axelar node
Resume your stopped Axelar node.
Tip: If your node is still in catching_up
mode then you might need to use the -a
flag in the following command to specify a different version of axelar-core depending on your current progress downloading the blockchain. See Join the Axelar testnet for the first time.
KEYRING_PASSWORD=my-secret-password ./scripts/node.sh -n mainnet
Learn your address
Tip: A new account named validator
was automatically created for you when you joined the Axelar network for the first time. This is just a name---you are not (yet) a validator on the Axelar network.
Learn the address of your validator
account:
echo my-secret-password | ~/.axelar/bin/axelard keys show validator -a --home ~/.axelar/.core
Check your AXL balance
Let {MY_ADDRESS}
denote the address of your validator
account.
Tip: Your balance will appear only after you have downloaded the blockchain and exited catching_up
mode.
echo my-secret-password | ~/.axelar/bin/axelard q bank balances {MY_ADDRESS} --home ~/.axelar/.core
If this is a new account then you should see no token balances.
Recover your secret keys
Join the network as per Quick sync, except use the flags -t path_to_tendermint_key -m path_to_validator_mnemonic -r
(-r
is to reset the chain). These flags work only on a completely fresh state.