Useful commands
Add new key
axelard keys add walletRecover existing key
axelard keys add wallet --recoverList all keys
axelard keys listDelete key
axelard keys delete walletQuery wallet balance
axelard q bank balances $(axelard keys show wallet -a)Create new validator
axelard tx staking create-validator \
--amount 1000000uaxl \
--pubkey $(axelard tendermint show-validator) \
--moniker "YOUR_MONIKER_NAME" \
--identity "YOUR_KEYBASE_ID" \
--details "YOUR_DETAILS" \
--website "YOUR_WEBSITE_URL" \
--chain-id axelar-dojo-1 \
--commission-rate 0.05 \
--commission-max-rate 0.20 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--from wallet \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.007uaxl \
-yEdit validator
axelard tx staking edit-validator \
--new-moniker "YOUR_MONIKER_NAME" \
--identity "YOUR_KEYBASE_ID" \
--details "YOUR_DETAILS" \
--website "YOUR_WEBSITE_URL" \
--chain-id axelar-dojo-1 \
--commission-rate 0.05 \
--from wallet \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.007uaxl \
-yUnjail validator
axelard tx slashing unjail --from wallet --chain-id axelar-dojo-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.007uaxl -yJail reason
axelard query slashing signing-info $(axelard tendermint show-validator)List all active validators
axelard q staking validators -oj --limit=3000 | jq '.validators[] | select(.status=="BOND_STATUS_BONDED")' | jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " \t " + .description.moniker' | sort -gr | nlList all inactive validators
axelard q staking validators -oj --limit=3000 | jq '.validators[] | select(.status=="BOND_STATUS_UNBONDED")' | jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " \t " + .description.moniker' | sort -gr | nlWithdraw rewards from all validators
axelard tx distribution withdraw-all-rewards --from wallet --chain-id axelar-dojo-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.007uaxl -yWithdraw commission and rewards from your validator
axelard tx distribution withdraw-rewards $(axelard keys show wallet --bech val -a) --commission --from wallet --chain-id axelar-dojo-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.007uaxl -yDelegate to yourself
axelard tx staking delegate $(axelard keys show wallet --bech val -a) 1000000uaxl --from wallet --chain-id axelar-dojo-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.007uaxl -yDelegate tokens to validator
axelard tx staking delegate <TO_VALOPER_ADDRESS> 1000000uaxl --from wallet --chain-id axelar-dojo-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.007uaxl -yRedelegate tokens to another validator
axelard tx staking redelegate $(axelard keys show wallet --bech val -a) <TO_VALOPER_ADDRESS> 1000000uaxl --from wallet --chain-id axelar-dojo-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.007uaxl -yUnbond tokens from your validator
axelard tx staking unbond $(axelard keys show wallet --bech val -a) 1000000uaxl --from wallet --chain-id axelar-dojo-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.007uaxl -ySend tokens to the wallet
axelard tx bank send wallet <TO_WALLET_ADDRESS> 1000000uaxl --from wallet --chain-id axelar-dojo-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.007uaxl -yView validator details
axelard q staking validator $(axelard keys show wallet --bech val -a)Slashing params
axelard q slashing paramsSigning Info
axelard q slashing signing-info $(axelard tendermint show-validator)Get validator info
axelard status 2>&1 | jq .ValidatorInfoGet sync info
axelard status --node http://localhost:17357 2>&1 | jq .SyncInfoCheck validator key
[[ $(axelard q staking validator $(axelard keys show wallet --bech val -a) -oj | jq -r .consensus_pubkey.key) = $(axelard status | jq -r .ValidatorInfo.PubKey.value) ]] && echo -e "\n\e[1m\e[32mTrue\e[0m\n" || echo -e "\n\e[1m\e[31mFalse\e[0m\n"Governance
axelard tx gov vote 1 yes --from wallet --chain-id axelar-dojo-1 --gas-prices 0.007uaxl --gas-adjustment 1.5 --gas auto -yRemove node
cd $HOME
sudo systemctl stop axelard
sudo systemctl disable axelard
sudo rm /etc/systemd/system/axelard.service
sudo systemctl daemon-reload
rm -f $(which axelard)
rm -rf $HOME/.axelar
rm -rf $HOME/axelar-coreReload service configuration
sudo systemctl daemon-reloadEnable service
sudo systemctl enable axelardDisable service
sudo systemctl disable axelardStart service
sudo systemctl start axelardStop service
sudo systemctl stop axelardRestart service
sudo systemctl restart axelardCheck service status
sudo systemctl status axelardCheck service logs
sudo journalctl -u axelard -f --no-hostname -o catLast updated