Useful commands
π Key managementβ
Add new keyβ
axoned keys add wallet
Recover existing keyβ
axoned keys add wallet --recover
List all keysβ
axoned keys list
Delete keyβ
axoned keys delete wallet
Export key to the fileβ
axoned keys export wallet
Import key from the fileβ
axoned keys import wallet wallet.backup
Query wallet balanceβ
axoned q bank balances $(axoned keys show wallet -a)
π· Validator managementβ
info
Please make sure you have adjusted moniker, identity, details and website to match your values.
Create new validatorβ
axoned tx staking create-validator <(cat <<EOF
{
"pubkey": $(axoned comet show-validator),
"amount": "1000000uaxone",
"moniker": "owlstake",
"identity": "6B73E2068E0C0C4C",
"website": "https://owlstake.com",
"security": "[email protected]",
"details": "We are a Professional Validator of PoS Cryptocurrencies who helps investors and token holders gain profits from their assets by consistently increasing their yields via non-custodial staking. Join us, stake, and earn.",
"commission-rate": "0.05",
"commission-max-rate": "0.20",
"commission-max-change-rate": "0.05",
"min-self-delegation": "1"
}
EOF
) \
--chain-id axone-1 \
--from wallet \
--gas-prices=0.001uaxone \
--gas-adjustment=1.5 \
--gas=auto \
-y
Edit existing validatorβ
axoned tx staking edit-validator \
--new-moniker "YOUR_MONIKER_NAME" \
--identity "YOUR_KEYBASE_ID" \
--details "YOUR_DETAILS" \
--website "YOUR_WEBSITE_URL" \
--chain-id axone-1 \
--commission-rate 0.05 \
--from wallet \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.001uaxone \
-y
Unjail validatorβ
axoned tx slashing unjail --from wallet --chain-id axone-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.001uaxone -y
Jail reasonβ
axoned query slashing signing-info $(axoned tendermint show-validator)
List all active validatorsβ
axoned 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β
axoned 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
View validator detailsβ
axoned q staking validator $(axoned keys show wallet --bech val -a)
π² Token managementβ
Withdraw rewards from all validatorsβ
axoned tx distribution withdraw-all-rewards --from wallet --chain-id axone-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.001uaxone -y