Service operations ⚙️
Check logs
sudo journalctl -u dorad -fo cat
Start service
sudo systemctl start dorad
Stop service
sudo systemctl stop dorad
Restart service
sudo systemctl restart dorad
Check service status
sudo systemctl status dorad
Reload services
sudo systemctl daemon-reload
Enable Service
sudo systemctl enable dorad
Disable Service
sudo systemctl disable dorad
Node info
dorad status 2>&1 | jq
Your node peer
echo $(dorad tendermint show-node-id)'@'$(wget -qO- eth0.me)':'$(cat $HOME/.dora/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')
Key management
Add New Wallet
dorad keys add $WALLET
Restore executing wallet
dorad keys add $WALLET --recover
List All Wallets
dorad keys list
Delete wallet
dorad keys delete $WALLET
Check Balance
dorad q bank balances $WALLET_ADDRESS
Export Key (save to wallet.backup)
dorad keys export $WALLET
View EVM Prived Key
dorad keys unsafe-export-eth-key $WALLET
Import Key (restore from wallet.backup)
dorad keys import $WALLET wallet.backup
Tokens
To valoper address
To wallet address
Amount, peaka
Withdraw all rewards
dorad tx distribution withdraw-all-rewards --from $WALLET --chain-id vota-ash --gas auto --gas-adjustment 1.5 --gas-prices 100000000000peaka
Withdraw rewards and commission from your validator
dorad tx distribution withdraw-rewards $VALOPER_ADDRESS --from $WALLET --commission --chain-id vota-ash --gas auto --gas-adjustment 1.5 --gas-prices 100000000000peaka -y
Check your balance
dorad query bank balances $WALLET_ADDRESS
Delegate to Yourself
dorad tx staking delegate $(dorad keys show $WALLET --bech val -a) 1000000peaka --from $WALLET --chain-id vota-ash --gas auto --gas-adjustment 1.5 --gas-prices 100000000000peaka -y
Delegate
dorad tx staking delegate <TO_VALOPER_ADDRESS> 1000000peaka --from $WALLET --chain-id vota-ash --gas auto --gas-adjustment 1.5 --gas-prices 100000000000peaka -y
Redelegate Stake to Another Validator
dorad tx staking redelegate $VALOPER_ADDRESS <TO_VALOPER_ADDRESS> 1000000peaka --from $WALLET --chain-id vota-ash --gas auto --gas-adjustment 1.5 --gas-prices 100000000000peaka -y
Unbond
dorad tx staking unbond $(dorad keys show $WALLET --bech val -a) 1000000peaka --from $WALLET --chain-id vota-ash --gas auto --gas-adjustment 1.5 --gas-prices 100000000000peaka -y
Transfer Funds
dorad tx bank send $WALLET_ADDRESS <TO_WALLET_ADDRESS> 1000000peaka --gas auto --gas-adjustment 1.5 --gas-prices 100000000000peaka -y
Validator operations
Moniker
Identity
Details
Amount, peaka
Commission rate
Commission max rate
Commission max change rate
Create New Validator
dorad tx staking create-validator \
--amount 1000000peaka \
--from $WALLET \
--commission-rate 0.1 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--pubkey $(dorad tendermint show-validator) \
--moniker "$MONIKER" \
--identity "" \
--details "I love blockchain ❤️" \
--chain-id vota-ash \
--gas auto --gas-adjustment 1.5 --gas-prices 100000000000peaka \
-y
Edit Existing Validator
dorad tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "$MONIKER" \
--identity "" \
--details "I love blockchain ❤️" \
--from $WALLET \
--chain-id vota-ash \
--gas auto --gas-adjustment 1.5 --gas-prices 100000000000peaka \
-y
Validator info
dorad status 2>&1 | jq
Validator Details
dorad q staking validator $(dorad keys show $WALLET --bech val -a)
Jailing info
dorad q slashing signing-info $(dorad tendermint show-validator)
Slashing parameters
dorad q slashing params
Unjail validator
dorad tx slashing unjail --from $WALLET --chain-id vota-ash --gas auto --gas-adjustment 1.5 --gas-prices 100000000000peaka -y
Active Validators List
dorad 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
[[ $(dorad q staking validator $VALOPER_ADDRESS -oj | jq -r .consensus_pubkey.key) = $(dorad status | jq -r .ValidatorInfo.PubKey.value) ]] && echo -e "Your key status is ok" || echo -e "Your key status is error"
Signing info
dorad q slashing signing-info $(dorad tendermint show-validator)
Governance
Title
Description
Deposit, peaka
Create New Text Proposal
dorad tx gov submit-proposal \
--title "" \
--description "" \
--deposit 1000000peaka \
--type Text \
--from $WALLET \
--gas auto --gas-adjustment 1.5 --gas-prices 100000000000peaka \
-y
Proposals List
dorad query gov proposals
Proposal ID
Proposal option
View proposal
dorad query gov proposal 1
Vote
dorad tx gov vote 1 yes --from $WALLET --chain-id vota-ash --gas auto --gas-adjustment 1.5 --gas-prices 100000000000peaka -y