Add new key
Copy axelard keys add wallet
Recover existing key
Copy axelard keys add wallet --recover
List all keys
Delete key
Copy axelard keys delete wallet
Query wallet balance
Copy axelard q bank balances $( axelard keys show wallet -a )
Create new validator
Copy 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-testnet-lisbon-3 \
--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 \
-y
Edit validator
Copy axelard tx staking edit-validator \
--new-moniker "YOUR_MONIKER_NAME" \
--identity "YOUR_KEYBASE_ID" \
--details "YOUR_DETAILS" \
--website "YOUR_WEBSITE_URL" \
--chain-id axelar-testnet-lisbon-3 \
--commission-rate 0.05 \
--from wallet \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.007uaxl \
-y
Unjail validator
Copy axelard tx slashing unjail --from wallet --chain-id axelar-testnet-lisbon-3 --gas-adjustment 1.4 --gas auto --gas-prices 0.007uaxl -y
Jail reason
Copy axelard query slashing signing-info $( axelard tendermint show-validator )
List all active validators
Copy 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 | nl
List all inactive validators
Copy 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 | nl
Withdraw rewards from all validators
Copy axelard tx distribution withdraw-all-rewards --from wallet --chain-id axelar-testnet-lisbon-3 --gas-adjustment 1.4 --gas auto --gas-prices 0.007uaxl -y
Withdraw commission and rewards from your validator
Copy axelard tx distribution withdraw-rewards $(axelard keys show wallet --bech val -a) --commission --from wallet --chain-id axelar-testnet-lisbon-3 --gas-adjustment 1.4 --gas auto --gas-prices 0.007uaxl -y
Delegate to yourself
Copy axelard tx staking delegate $(axelard keys show wallet --bech val -a) 1000000uaxl --from wallet --chain-id axelar-testnet-lisbon-3 --gas-adjustment 1.4 --gas auto --gas-prices 0.007uaxl -y
Delegate tokens to validator
Copy axelard tx staking delegate <TO_VALOPER_ADDRESS> 1000000uaxl --from wallet --chain-id axelar-testnet-lisbon-3 --gas-adjustment 1.4 --gas auto --gas-prices 0.007uaxl -y
Redelegate tokens to another validator
Copy axelard tx staking redelegate $(axelard keys show wallet --bech val -a) <TO_VALOPER_ADDRESS> 1000000uaxl --from wallet --chain-id axelar-testnet-lisbon-3 --gas-adjustment 1.4 --gas auto --gas-prices 0.007uaxl -y
Unbond tokens from your validator
Copy axelard tx staking unbond $(axelard keys show wallet --bech val -a) 1000000uaxl --from wallet --chain-id axelar-testnet-lisbon-3 --gas-adjustment 1.4 --gas auto --gas-prices 0.007uaxl -y
Send tokens to the wallet
Copy axelard tx bank send wallet <TO_WALLET_ADDRESS> 1000000uaxl --from wallet --chain-id axelar-testnet-lisbon-3 --gas-adjustment 1.4 --gas auto --gas-prices 0.007uaxl -y
View validator details
Copy axelard q staking validator $( axelard keys show wallet --bech val -a )
Slashing params
Copy axelard q slashing params
Signing Info
Copy axelard q slashing signing-info $( axelard tendermint show-validator )
Get validator info
Copy axelard status 2>&1 | jq .ValidatorInfo
Get sync info
Copy axelard status --node http://localhost:17457 2>&1 | jq .SyncInfo
Check validator key
Copy [[ $(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
Copy axelard tx gov vote 1 yes --from wallet --chain-id axelar-testnet-lisbon-3 --gas-prices 0.007uaxl --gas-adjustment 1.5 --gas auto -y
Remove node
Copy 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-core
Reload service configuration
Copy sudo systemctl daemon-reload
Enable service
Copy sudo systemctl enable axelard
Disable service
Copy sudo systemctl disable axelard
Start service
Copy sudo systemctl start axelard
Stop service
Copy sudo systemctl stop axelard
Restart service
Copy sudo systemctl restart axelard
Check service status
Copy sudo systemctl status axelard
Check service logs
Copy sudo journalctl -u axelard -f --no-hostname -o cat
Last updated 8 months ago