Chain ID: sunrise-test-0.2
| Current Node Version: v0.2.6
This cheatsheet collects commonly used CLI commands for node operators to easily copy and paste. A few conventions we follow:
- Capitalized words indicate placeholders
- Always use our own [NODERS]TEAM RPC endpoints
- Always specify
--chain-id
and--node
flags even when they are unnecessary - Query CLI command always uses
--output json
flag and pipes result throughjq
Wallet generate and recover
Add new key
sunrised keys add KEY
Recover key (via existing mnemonic)
sunrised keys add KEY --recover
List all keys
sunrised keys list
Delete key
sunrised keys delete KEY
Wallet
Wallet balance
sunrised q bank balances $(sunrised keys show KEY -a) --node https://sunrise-t-rpc.noders.services:443
Send
sunrised tx bank send YOUR_KEY RECEIVER_ADDRESS 1000000uvrise \
--chain-id sunrise-test-0.2 \
--node https://sunrise-t-rpc.noders.services:443 --fees 3000uvrise \
--from KEY
Withdraw rewards from all validators
sunrised tx distribution withdraw-all-rewards \
--chain-id sunrise-test-0.2 \
--node https://sunrise-t-rpc.noders.services:443 --fees 3000uvrise \
--from KEY
Withdraw Rewards including Commission
sunrised tx distribution withdraw-rewards VALIDATOR_ADRESS \
--commission \
--chain-id sunrise-test-0.2 \
--node https://sunrise-t-rpc.noders.services:443 --fees 3000uvrise \
--from KEY
Delegate tokens to yourself
sunrised tx staking delegate $(sunrised keys show KEY --bech val -a) 1000000uvrise \
--chain-id sunrise-test-0.2 \
--node https://sunrise-t-rpc.noders.services:443 --fees 3000uvrise \
--from KEY
Delegate tokens to validator
sunrised tx staking delegate VALIDATOR_ADDRESS 1000000uvrise \
--chain-id sunrise-test-0.2 \
--node https://sunrise-t-rpc.noders.services:443 --fees 3000uvrise \
--from KEY
Redelegate tokens to another validator
sunrised tx staking redelegate $(sunrised keys show KEY --bech val -a) VALIDATOR_ADDRESS 1000000uvrise \
--chain-id sunrise-test-0.2 \
--node https://sunrise-t-rpc.noders.services:443 --fees 3000uvrise \
--from KEY
Unbond tokens from your validator
sunrised tx staking unbond $(sunrised keys show KEY --bech val -a) uvrise \
--chain-id andromeda-1 \
--node https://sunrise-t-rpc.noders.services:443 --fees 3000uvrise \
--from KEY