CLI Cheatsheet Commands

Check out Chain -
Info
.Network | Chain | Version |
---|---|---|
Testnet | allora-testnet-1 | Waiting |
SYNC
npx
allorad status 2>&1 | jq .sync_info
Wallet ;
- If you want you can change wallet name - "wallet" change.
- Wallet Add
npx
allorad keys add wallet
- Wallet Recover
npx
allorad keys add wallet --recover
- List Wallet
npx
allorad keys list
- Delete Wallet
npx
allorad keys delete wallet
- Wallet Balance
npx
allorad q bank balances $(allorad keys show wallet -a)
Validator Commands
- Pubkey ;
npx
allorad tendermint show-validator
- Validator Crate
npx
nano validator.json
npx
{
"pubkey": {
"@type": "/cosmos.crypto.ed25519.PubKey",
"key": "pubkey"
},
"amount": "1000000uallo",
"moniker": "",
"identity": "",
"website": "",
"security": "",
"details": "",
"commission-rate": "0.10",
"commission-max-rate": "0.15",
"commission-max-change-rate": "0.05",
"min-self-delegation": "1"
}
- Crate ;
npx
allorad tx staking create-validator validator.json \
--from wallet \
--chain-id allora-testnet-1 \
--gas auto \
--gas-adjustment 1.4 \
--gas-prices 10uallo \
-y
- Unjail ;
npx
allorad tx slashing unjail --from wallet --chain-id allora-testnet-1 --gas-prices=0.025utac --gas-adjustment=1.5 --gas=auto
- Jail Check ;
npx
allorad query slashing signing-info $(allorad tendermint show-validator)
Management ;
- Withdraw Rewards
npx
allorad tx distribution withdraw-all-rewards --from wallet --chain-id allora-testnet-1 --gas-prices=25000000000uallo --gas-adjustment=1.5 --gas=auto
- Withdraw Rewards with Comission
npx
allorad tx distribution withdraw-rewards $(allorad keys show wallet --bech val -a) --commission --from wallet --chain-id allora-testnet-1 --gas-prices=25000000000allo --gas-adjustment=1.5 --gas=auto
- Delegate Token to your own validator
npx
allorad tx staking delegate $(allorad keys show wallet --bech val -a) 1000000000000000000allo --from wallet --chain-id allora-testnet-1 --gas-prices=25000000000uallo --gas-adjustment=1.5 --gas=auto
- Delegate Token to other validator
npx
allorad staking redelegate $(allorad keys show wallet --bech val -a) <TO_VALOPER_ADDRESS> 1000000000000000000uallo --from wallet --chain-id allora-testnet-1 --gas-prices=25000000000uallo --gas-adjustment=1.5 --gas=auto
- Unbond Token from your validator
npx
allorad tx staking unbond $(allorad keys show wallet --bech val -a) 1000000000000000000uallo --from wallet --chain-id allora-testnet-1 --gas-prices=25000000000allo --gas-adjustment=1.5 --gas=auto
- Send Token to another wallet
npx
allorad tx bank send wallet <TO_WALLET_ADDRESS> 1000000000000000000uallo --from wallet --chain-id allora-testnet-1 --gas-prices=25000000000uallo --gas-adjustment=1.5 --gas=auto
Delete Node
npx
sudo systemctl stop allorad
sudo systemctl disable allorad
sudo rm /etc/systemd/system/allorad.service
sudo systemctl daemon-reload
rm -f $(which allorad)
rm -rf .allorad