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