Management
ADD NEW KEY
sided keys add wallet
RECOVER EXISTING KEY
sided keys add wallet --recover
LIST ALL KEYS
sided keys list
DELETE KEY
sided keys delete wallet
EXPORT KEY TO A FILE
sided keys export wallet
IMPORT KEY FROM A FILE
sided keys import wallet wallet.backup
QUERY WALLET BALANCE
sided q bank balances $(sided keys show wallet -a)
Please make sure you have adjusted moniker, identity, details and website to match your values.
CREATE NEW 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_URL" \
--chain-id sidechain-testnet-4 \
--commission-rate 0.05 \
--commission-max-rate 0.20 \
--commission-max-change-rate 0.05 \
--min-self-delegation 1 \
--from wallet \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.0uside \
-y
EDIT EXISTING VALIDATOR
sided tx staking edit-validator \
--new-moniker "YOUR_MONIKER_NAME" \
--identity "YOUR_KEYBASE_ID" \
--details "YOUR_DETAILS" \
--website "YOUR_WEBSITE_URL" \
--chain-id sidechain-testnet-4 \
--commission-rate 0.05 \
--from wallet \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.0uside \
-y
UNJAIL VALIDATOR
sided tx slashing unjail \
--from wallet \
--chain-id sidechain-testnet-4 \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.0uside \
-y
JAIL REASON
sided query slashing signing-info $(sided tendermint show-validator)
LIST ALL ACTIVE VALIDATORS
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 ALL INACTIVE VALIDATORS
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
VIEW VALIDATOR DETAILS
sided q staking validator $(sided keys show wallet --bech val -a)
WITHDRAW REWARDS FROM ALL VALIDATORS
sided tx distribution withdraw-all-rewards \
--from wallet \
--chain-id sidechain-testnet-4 \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.0uside \
-y
WITHDRAW COMMISSION AND REWARDS FROM YOUR VALIDATOR
sided tx distribution withdraw-rewards $(sided keys show wallet --bech val -a) \
--commission \
--from wallet \
--chain-id sidechain-testnet-4 \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.0uside \
-y
DELEGATE TOKENS TO YOURSELF
sided tx staking delegate $(sided keys show wallet --bech val -a) 1000000uside \
--from wallet \
--chain-id sidechain-testnet-4 \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.0uside \
-y
DELEGATE TOKENS TO VALIDATOR
sided tx staking delegate <TO_VALOPER_ADDRESS> 1000000uside \
--from wallet \
--chain-id sidechain-testnet-4 \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.0uside \
-y
REDELEGATE TOKENS TO ANOTHER VALIDATOR
sided tx staking redelegate $(sided keys show wallet --bech val -a) <TO_VALOPER_ADDRESS> 1000000uside \
--from wallet \
--chain-id sidechain-testnet-4 \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.0uside \
-y
UNBOND TOKENS FROM YOUR VALIDATOR
sided tx staking unbond $(sided keys show wallet --bech val -a) 1000000uside \
--from wallet \
--chain-id sidechain-testnet-4 \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.0uside \
-y
SEND TOKENS TO THE WALLET
sided tx bank send wallet <TO_WALLET_ADDRESS> 1000000uside \
--from wallet \
--chain-id sidechain-testnet-4 \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.0uside \
-y
Last updated