Cheat sheets
Key managment
tip
Replace keyname with any name you want to use for the key name
Create new key
shidod keys add keyname
Recover Existing Key
shidod keys add keyname --recover
List All Keys
shidod keys list
Delete Key
shidod keys delete keyname
Create & Edit Existing Validator
Create validator
shidod tx staking create-validator \
--amount=1000000000000000000shido \
--pubkey=$(shidod tendermint show-validator) \
--commission-rate="0.05" \
--commission-max-rate="0.20" \
--commission-max-change-rate="0.01" \
--min-self-delegation="1000000" \
--moniker="your validator name" \
--from= keyname
Add validator information
shidod tx staking edit-validator \
--identity=your identity \
--details="your details" \
--website="your validator website" \
--security-contact "The validator security contact email"
--from= keyname
Edit Existing Validator
shidod tx staking edit-validator
--new-moniker="your new validator name" \
--identity=your new identity name \
--details="your new details" \
--commission-rate=0.05 \
--from= keyname
Unjail Validator
shidod tx slashing unjail --from keyname -y
Tokens
Withdraw Rewards From All Validators
shidod tx distribution withdraw-all-rewards --from keyname
Withdraw Commission And Rewards From Your Validator
shidod tx distribution withdraw-rewards $(shidod keys show keyname --bech val -a) --commission --from keyname
Governance
View Proposal By ID Example: shidod query gov proposal 3
shidod query gov proposal Proposal id
Vote YES
shidod tx gov vote Proposal id yes --from keyname
Vote NO
shidod tx gov vote Proposal id no --from keyname
Vote NO_WITH_VETO
shidod tx gov vote Proposal id no_with_veto --from keyname
Vote ABSTAIN
shidod tx gov vote Proposal id abstain --from keyname
Service Management
Reload Services
sudo systemctl daemon-reload
Enable Service
sudo systemctl enable shidod
Disable Service
sudo systemctl disable shidod
Run Service
sudo systemctl start shidod
Stop Service
sudo systemctl stop shidod
Restart Service
sudo systemctl restart shidod
Check Service Status
sudo systemctl status shidod
Check Service Logs
sudo journalctl -u shidod -f --no-hostname -o cat