Chain ID: seda-1-testnet
| Current Node Version: v0.0.7
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
sedad keys add KEY
Recover key (via existing mnemonic)
sedad keys add KEY --recover
List all keys
sedad keys list
Delete key
sedad keys delete KEY
Wallet
Wallet balance
sedad q bank balances $(sedad keys show KEY -a) --node https://seda-t-rpc.noders.services:443
Send
sedad tx bank send YOUR_KEY RECEIVER_ADDRESS 1000000useda \
--chain-id seda-1-testnet \
--node https://seda-t-rpc.noders.services:443 --fees 3000useda \
--from KEY
Withdraw rewards from all validators
sedad tx distribution withdraw-all-rewards \
--chain-id seda-1-testnet \
--node https://seda-t-rpc.noders.services:443 --fees 3000useda \
--from KEY
Withdraw Rewards including Commission
sedad tx distribution withdraw-rewards VALIDATOR_ADRESS \
--commission \
--chain-id seda-1-testnet \
--node https://seda-t-rpc.noders.services:443 --fees 3000useda \
--from KEY
Delegate tokens to yourself
sedad tx staking delegate $(sedad keys show KEY --bech val -a) 1000000useda \
--chain-id seda-1-testnet \
--node https://seda-t-rpc.noders.services:443 --fees 3000useda \
--from KEY
Delegate tokens to validator
sedad tx staking delegate VALIDATOR_ADDRESS 1000000useda \
--chain-id seda-1-testnet \
--node https://seda-t-rpc.noders.services:443 --fees 3000useda \
--from KEY
Redelegate tokens to another validator
sedad tx staking redelegate $(sedad keys show KEY --bech val -a) VALIDATOR_ADDRESS 1000000useda \
--chain-id seda-1-testnet \
--node https://seda-t-rpc.noders.services:443 --fees 3000useda \
--from KEY
Unbond tokens from your validator
sedad tx staking unbond $(sedad keys show KEY --bech val -a) useda \
--chain-id andromeda-1 \
--node https://seda-t-rpc.noders.services:443 --fees 3000useda \
--from KEY
Governance
List of all proposals
sedad query gov proposals --node https://seda-t-rpc.noders.services:443
Check vote
sedad query gov proposal PROPOSAL_NUMBER \
--chain-id seda-1-testnet \
--node https://seda-t-rpc.noders.services:443 --fees 3000useda \
--output json | jq
Vote
Vote options:
- yes
- no
- no_with_veto
- abstain
sedad tx gov vote PROPOSAL_NUMBER VOTE_OPTION \
--chain-id seda-1-testnet \
--node https://seda-t-rpc.noders.services:443 --fees 3000useda \
--from KEY