Shido Cheat Sheet
Key Management
Section titled “Key Management”1. Create a New Wallet
Section titled “1. Create a New Wallet”export HOMEDIR="$HOME/.shidod/"WALLET=wallet #your_wallet_nameshidod keys add $WALLET --keyring-backend os --algo eth_secp256k1 --home $HOMEDIR2. Recover Wallet from Seed Phrase
Section titled “2. Recover Wallet from Seed Phrase”shidod keys add $WALLET --recover --keyring-backend os --algo eth_secp256k1 --home $HOMEDIR3. Check List Wallets
Section titled “3. Check List Wallets”shidod keys listWallet Operations
Section titled “Wallet Operations”1. Check Balance
Section titled “1. Check Balance”shidod query bank balances $(shidod keys show $WALLET -a)2. Send Tokens
Section titled “2. Send Tokens”shidod tx bank send $(shidod keys show $WALLET -a) <receiver_wallet_address> <amount><denom> \--chain-id shido_9008-1 \--gas-prices 0.025shido \--gas-adjustment 1.5 \--gas auto \-yValidator Management
Section titled “Validator Management”1. Create Validator
Section titled “1. Create Validator”cd $HOME# Create validator.json fileecho "{\"pubkey\":{\"@type\":\"/cosmos.crypto.ed25519.PubKey\",\"key\":\"$(shidod comet show-validator | grep -Po '\"key\":\s*\"\K[^"]*')\"}, \"amount\": \"1000000000000000000shido\", \"moniker\": \"YourMoniker\", \"identity\": \"KeybaseKey\", \"website\": \"YourWebsite.com\", \"security\": \"youremail@example.com\", \"details\": \"YourDescription\", \"commission-rate\": \"0.1\", \"commission-max-rate\": \"0.2\", \"commission-max-change-rate\": \"0.01\", \"min-self-delegation\": \"1\"}" > $HOME/.shidod/validator.json
# Create validatorshidod tx staking create-validator $HOME/.shidod/validator.json \ --from $WALLET \ --chain-id shido_9008-1 \ --fees 800000shido \ --gas 5000002. Delegate Tokens
Section titled “2. Delegate Tokens”shidod tx staking delegate $(shidod keys show $WALLET --bech val -a) <amount>shido \--chain-id shido_9008-1 \--gas-prices 0.025shido \--gas-adjustment 1.5 \--gas auto \--from $WALLET \-y3. Withdraw Rewards (Delegator)
Section titled “3. Withdraw Rewards (Delegator)”shidod tx distribution withdraw-rewards $(shidod keys show $WALLET --bech val -a) \--chain-id shido_9008-1 \--gas-prices 0.025shido \--gas-adjustment 1.5 \--gas auto \--from $WALLET \-y4. Withdraw Rewards (Validator Commission)
Section titled “4. Withdraw Rewards (Validator Commission)”shidod tx distribution withdraw-rewards $(shidod keys show $WALLET --bech val -a) --commission \--chain-id shido_9008-1 \--gas-prices 0.025shido \--gas-adjustment 1.5 \--gas auto \--from $WALLET \-y5. Unbond Tokens
Section titled “5. Unbond Tokens”shidod tx staking unbond $(shidod keys show $WALLET --bech val -a) <amount>shido \--chain-id shido_9008-1 \--gas-prices 0.025shido \--gas-adjustment 1.5 \--gas auto \--from $WALLET \-y6. Redelegate Tokens
Section titled “6. Redelegate Tokens”shidod tx staking redelegate $(shidod keys show $WALLET --bech val -a) <destination_validator_address> <amount>shido \--chain-id shido_9008-1 \--gas-prices 0.025shido \--gas-adjustment 1.5 \--gas auto \--from $WALLET \-y