Axone Cheat Sheet
Key Management
- Create a New Wallet
axoned keys add $WALLET
- Recover Wallet from Seed Phrase
axoned keys add $WALLET --recover
- Check List Wallets
axoned keys list
Wallet Operations
- Check Balance
axoned query bank balances $(axoned keys show $WALLET -a)
- Send Tokens
axoned tx bank send $(axoned keys show $WALLET -a) <receiver_wallet_address> <amount><denom> \--chain-id $AXONE_CHAIN_ID \--gas-prices 0.025uaxone \--gas-adjustment 1.5 \--gas auto \-y
Validator Management
- Create Validator
axoned tx staking create-validator \--amount 1000000uaxone \--from $WALLET \--commission-rate 0.05 \--commission-max-rate 0.20 \--commission-max-change-rate 0.01 \--min-self-delegation 1 \--pubkey $(axoned comet show-validator) \--moniker "YourMoniker" \--identity "KeybaseKey" \--website "YourWebsite.com" \--details "YourDescription" \--security-contact "youremail@example.com" \--chain-id $AXONE_CHAIN_ID \--gas auto --gas-adjustment 1.5 --fees 500uaxone \-y
- Delegate Tokens
axoned tx staking delegate $(axoned keys show $WALLET --bech val -a) <amount>uaxone \--chain-id $AXONE_CHAIN_ID \--gas-prices 0.025uaxone \--gas-adjustment 1.5 \--gas auto \--from $WALLET \-y
- Withdraw Rewards (Delegator)
axoned tx distribution withdraw-rewards $(axoned keys show $WALLET --bech val -a) \--chain-id $AXONE_CHAIN_ID \--gas-prices 0.025uaxone \--gas-adjustment 1.5 \--gas auto \--from $WALLET \-y
- Withdraw Rewards (Validator Commission)
axoned tx distribution withdraw-rewards $(axoned keys show $WALLET --bech val -a) --commission \--chain-id $AXONE_CHAIN_ID \--gas-prices 0.025uaxone \--gas-adjustment 1.5 \--gas auto \--from $WALLET \-y
- Unbond Tokens
axoned tx staking unbond $(axoned keys show $WALLET --bech val -a) <amount>uaxone \--chain-id $AXONE_CHAIN_ID \--gas-prices 0.025uaxone \--gas-adjustment 1.5 \--gas auto \--from $WALLET \-y
- Redelegate Tokens
axoned tx staking redelegate $(axoned keys show $WALLET --bech val -a) <destination_validator_address> <amount>uaxone \--chain-id $AXONE_CHAIN_ID \--gas-prices 0.025uaxone \--gas-adjustment 1.5 \--gas auto \--from $WALLET \-y