Management
#Generate
sided keys add wallet
#Recover
sided keys add wallet --recover
#Delete
sided keys delete wallet
#Export private key
sided keys export wallet
#Import with <keyfile>
sided keys import wallet <keyfile>
#Check balance
sided q bank balances $(sided keys show wallet -a)
#Show all wallet
sided keys list
#Create validator
sided tx staking create-validator \
--amount 1000000uside \
--pubkey $(sided tendermint show-validator) \
--moniker "your-moniker-name" \
--identity "your-keybase-id" \
--details "your-details" \
--website "your-website" \
--security-contact "your-email" \
--chain-id S2-testnet-2 \
--commission-rate 0.05 \
--commission-max-rate 0.20 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--from wallet \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.005uside \
-y
#edit validator
sided tx staking edit-validator \
--new-moniker "your-moniker-name" \
--identity "your-keybase-id" \
--details "your-details" \
--website "your-website" \
--security-contact "your-email" \
--chain-id S2-testnet-2 \
--commission-rate 0.05 \
--from wallet \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.005uside \
-y
#Unjail
sided tx slashing unjail --from wallet --chain-id S2-testnet-2 --gas-adjustment 1.4 --gas auto --gas-prices 0.005uside -y
#List active validator
sided 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 inactive validator
sided 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
#Validator details
sided q staking validator $(sided keys show wallet --bech val -a)
#Send
sided tx bank send wallet <to-wallet-address> 1000000uside \
--from wallet \
--chain-id S2-testnet-2 \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.0001uside \
-y
#Delegate
sided tx staking delegate $(sided keys show wallet --bech val -a) 1000000uside \
--from wallet \
--chain-id S2-testnet-2 \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.0001uside \
-y
#Redelegate
sided tx staking redelegate $(sided keys show wallet --bech val -a) <to-valoper-address> 1000000uside \
--from wallet \
--chain-id S2-testnet-2 \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.0001uside \
-y
#Unbond
sided tx staking unbond $(sided keys show wallet --bech val -a) 1000000uside \
--from wallet \
--chain-id S2-testnet-2 \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.0001uside \
-y
#Withdraw reward and commission
sided tx distribution withdraw-rewards $(sided keys show wallet --bech val -a) \
--commission \
--from wallet \
--chain-id S2-testnet-2 \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.0001uside \
-y
#Withdraw reward from all validator
sided tx distribution withdraw-all-rewards \
--from wallet \
--chain-id S2-testnet-2 \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.0001uside \
-y
#List proposal
sided query gov proposals
#View proposal by ID
sided query gov proposal 1
#Vote yes
sided tx gov vote 1 yes \
--from wallet \
--chain-id S2-testnet-2 \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.0001uside \
-y
#Vote no
sided tx gov vote 1 no \
--from wallet \
--chain-id S2-testnet-2 \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.0001uside \
-y
#Vote abstain
sided tx gov vote 1 abstain \
--from wallet \
--chain-id S2-testnet-2 \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.0001uside \
-y
#Vote NoWithVeto
sided tx gov vote 1 NoWithVeto \
--from wallet \
--chain-id S2-testnet-2 \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.0001uside \
-y
Last updated