Service operations ⚙️
Check logs
Copy sudo journalctl -u sided -f
Start service
Copy sudo systemctl start sided
Stop service
Copy sudo systemctl stop sided
Restart service
Copy sudo systemctl restart sided
Check service status
Copy sudo systemctl status sided
Reload services
Copy sudo systemctl daemon-reload
Enable Service
Copy sudo systemctl enable sided
Disable Service
Copy sudo systemctl disable sided
Sync info
Copy sided status 2>&1 | jq .SyncInfo
Node info
Copy sided status 2>&1 | jq .NodeInfo
Your node peer
Copy echo $( sided tendermint show-node-id ) '@' $( wget -qO- eth0.me ) ':' $( cat $HOME /.side/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//' )
Key management
Add New Wallet
Copy sided keys add $WALLET
Restore executing wallet
Copy sided keys add $WALLET --recover
List All Wallets
Delete wallet
Copy sided keys delete $WALLET
Check Balance
Copy sided q bank balances $( sided keys show $WALLET -a )
Export Key (save to wallet.backup)
Copy sided keys export $WALLET
View EVM Prived Key
Copy sided keys unsafe-export-eth-key $WALLET
Import Key (restore from wallet.backup)
Copy sided keys import $WALLET wallet.backup
Tokens
To valoper addressTo wallet addressAmount, uside
Withdraw all rewards
Copy sided tx distribution withdraw-all-rewards --from $WALLET --chain-id side-testnet-3 --gas auto --fees 1000uside
Withdraw rewards and commission from your validator
Copy sided tx distribution withdraw-rewards $VALOPER_ADDRESS --from $WALLET --commission --chain-id side-testnet-3 --gas auto --fees 1000uside -y
Check your balance
Copy sided query bank balances $WALLET_ADDRESS
Delegate to Yourself
Copy sided tx staking delegate $( sided keys show $WALLET --bech val -a ) 1000000uside --from $WALLET --chain-id side-testnet-3 --gas auto --fees 1000uside -y
Delegate
Copy sided tx staking delegate < TO_VALOPER_ADDRES S > 1000000uside --from $WALLET --chain-id side-testnet-3 --gas auto --fees 1000uside -y
Redelegate Stake to Another Validator
Copy sided tx staking redelegate $VALOPER_ADDRESS < TO_VALOPER_ADDRES S > 1000000uside --from $WALLET --chain-id side-testnet-3 --gas auto --fees 1000uside -y
Unbond
Copy sided tx staking unbond $( sided keys show $WALLET --bech val -a ) 1000000uside --from $WALLET --chain-id side-testnet-3 --gas auto --fees 1000uside -y
Transfer Funds
Copy sided tx bank send $WALLET_ADDRESS < TO_WALLET_ADDRES S > 1000000uside --gas auto --fees 1000uside -y
Validator operations
MonikerIdentityDetailsAmount, usideCommission rateCommission max rateCommission max change rate
Create New Validator
Copy sided tx staking create-validator \
--amount 1000000uside \
--from $WALLET \
--commission-rate 0.1 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--pubkey $( sided tendermint show-validator ) \
--moniker "$MONIKER" \
--identity "" \
--details "I love blockchain ❤️" \
--chain-id side-testnet-3 \
--gas auto --fees 1000uside \
-y
Edit Existing Validator
Copy sided tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "$MONIKER" \
--identity "" \
--details "I love blockchain ❤️" \
--from $WALLET \
--chain-id side-testnet-3 \
--gas auto --fees 1000uside \
-y
Validator info
Copy sided status 2>&1 | jq .ValidatorInfo
Validator Details
Copy sided q staking validator $( sided keys show $WALLET --bech val -a )
Jailing info
Copy sided q slashing signing-info $( sided tendermint show-validator )
Slashing parameters
Copy sided q slashing params
Unjail validator
Copy sided tx slashing unjail --from $WALLET --chain-id side-testnet-3 --gas auto --fees 1000uside -y
Active Validators List
Copy sided q staking validators -oj --limit=2000 | jq '.validators[] | select(.status=="BOND_STATUS_BONDED")' | jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " " + .description.moniker' | sort -gr | nl
Check Validator key
Copy [[ $( sided q staking validator $VALOPER_ADDRESS -oj | jq -r .consensus_pubkey.key ) = $( sided status | jq -r .ValidatorInfo.PubKey.value ) ]] && echo -e "Your key status is ok" || echo -e "Your key status is error"
Signing info
Copy sided q slashing signing-info $( sided tendermint show-validator )
Governance
TitleDescriptionDeposit, uside
Create New Text Proposal
Copy sided tx gov submit-proposal \
--title "" \
--description "" \
--deposit 1000000uside \
--type Text \
--from $WALLET \
--gas auto --fees 1000uside \
-y
Proposals List
Copy sided query gov proposals
Proposal IDProposal optionYesNoNo with vetoAbstain
View proposal
Copy sided query gov proposal 1
Vote
Copy sided tx gov vote 1 yes --from $WALLET --chain-id side-testnet-3 --gas auto --fees 1000uside -y
Last updated 9 months ago