Doc – Shido
Minimum Hardware
| NODE | CPU | RAM | SSD | OS |
|---|---|---|---|---|
| shidod | 4 | 8 | 100 GB | Ubuntu 22.04 LTS |
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 specify
--chain-idand--nodeflags even when they are unnecessary - Query CLI command always uses
--output jsonflag and pipes result throughjq
Bank: Send
shidod tx bank send KEY RECEIVER_ADDRESS 1000000shido \
--chain-id shido_9008-1 \
--node https://shido-rpc.polkachu.com:443 --gas auto \
--from KEY
Distribution: Withdraw Rewards including Commission
shidod tx distribution withdraw-rewards VALIDATOR_OPERATOR \
--commission \
--chain-id shido_9008-1 \
--node https://shido-rpc.polkachu.com:443 --gas auto \
--from KEY
Gov: Query Proposal
shidod query gov proposal PROPOSAL_NUMBER \
--chain-id shido_9008-1 \
--node https://shido-rpc.polkachu.com:443 \
--output json | jq
Gov: Vote
VOTE_OTION: yes, no, no_with_veto and abstain.
shidod tx gov vote PROPOSAL_NUMBER VOTE_OPTION \
--chain-id shido_9008-1 \
--node https://shido-rpc.polkachu.com:443 --gas auto \
--from KEY
Slashing: Unjail
shidod tx slashing unjail \
--chain-id shido_9008-1 \
--node https://shido-rpc.polkachu.com:443 --gas auto \
--from KEY
Staking: Create Validator
Note: We use example filed values instead of capitalized dummy words for demo purpose in this command. Please make sure to adjust accordingly for your use.
shidod tx staking create-validator \
--amount 1000000shido \
--commission-max-change-rate "0.05" \
--commission-max-rate "0.10" \
--commission-rate "0.05" \
--min-self-delegation "1" \
--pubkey=$(shidod tendermint show-validator) \
--moniker 'polkachu.com' \
--website "https://polkachu.com" \
--identity "0A6AF02D1557E5B4" \
--details "Polkachu is the trusted staking service provider for blockchain projects. 100% refund for downtime slash. Contact us at hello@polkachu.com" \
--security-contact="hello@polkachu.com" \
--chain-id shido_9008-1 \
--node https://shido-rpc.polkachu.com:443 --gas auto \
--from KEY