Management
#Generate
wardend keys add wallet
#Recover
wardend keys add wallet --recover
#Delete
wardend keys delete wallet
#Export private key
wardend keys export wallet
#Import with <keyfile>
wardend keys import wallet <keyfile>
#Check balance
wardend q bank balances $(wardend keys show wallet -a)
#Show all wallet
wardend keys list
#Create validator
wardend tx staking create-validator \
--amount 1000000uward \
--pubkey $(wardend tendermint show-validator) \
--moniker "your-moniker-name" \
--identity "your-keybase-id" \
--details "your-details" \
--website "your-website" \
--security-contact "your-email" \
--chain-id buenavista-1 \
--commission-rate 0.05 \
--commission-max-rate 0.20 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--from wallet \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.025uward \
-y
#edit validator
wardend tx staking edit-validator \
--new-moniker "your-moniker-name" \
--identity "your-keybase-id" \
--details "your-details" \
--website "your-website" \
--security-contact "your-email" \
--chain-id buenavista-1 \
--commission-rate 0.05 \
--from wallet \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.025uward \
-y
#Unjail
wardend tx slashing unjail --from wallet --chain-id buenavista-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025uward -y
#List active validator
wardend q staking validators -oj --limit=3000 | jq '.validators[] | select(.status=="BOND_STATUS_BONDED")' | jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " \t " + .description.moniker' | sort -gr | nl
#List inactive validator
wardend q staking validators -oj --limit=3000 | jq '.validators[] | select(.status=="BOND_STATUS_UNBONDED")' | jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " \t " + .description.moniker' | sort -gr | nl
#Validator details
wardend q staking validator $(wardend keys show wallet --bech val -a)
#Send
wardend tx bank send wallet <to-wallet-address> 1000000uward \
--from wallet \
--chain-id buenavista-1 \
--gas-adjustment 1.5 \
--gas auto \
--gas-prices 0.5uward \
-y
#Delegate
wardend tx staking delegate $(wardend keys show wallet --bech val -a) 1000000uward \
--from wallet \
--chain-id buenavista-1 \
--gas-adjustment 1.5 \
--gas auto \
--gas-prices 0.5uward \
-y
#Redelegate
wardend tx staking redelegate $(wardend keys show wallet --bech val -a) <to-valoper-address> 1000000uward \
--from wallet \
--chain-id buenavista-1 \
--gas-adjustment 1.5 \
--gas auto \
--gas-prices 0.5uward \
-y
#Unbond
wardend tx staking unbond $(wardend keys show wallet --bech val -a) 1000000uward \
--from wallet \
--chain-id buenavista-1 \
--gas-adjustment 1.5 \
--gas auto \
--gas-prices 0.5uward \
-y
#Withdraw reward and commission
wardend tx distribution withdraw-rewards $(wardend keys show wallet --bech val -a) \
--commission \
--from wallet \
--chain-id buenavista-1 \
--gas-adjustment 1.5 \
--gas auto \
--gas-prices 0.5uward \
-y
#Withdraw reward from all validator
wardend tx distribution withdraw-all-rewards \
--from wallet \
--chain-id buenavista-1 \
--gas-adjustment 1.5 \
--gas auto \
--gas-prices 0.5uward \
-y
#List proposal
wardend d query gov proposals
#View proposal by ID
wardend d query gov proposal 1
#Vote yes
wardend d tx gov vote 1 yes \
--from wallet \
--chain-id buenavista-1 \
--gas-adjustment 1.5 \
--gas auto \
--gas-prices 0.05uward \
-y
#Vote no
wardend d tx gov vote 1 no \
--from wallet \
--chain-id buenavista-1 \
--gas-adjustment 1.5 \
--gas auto \
--gas-prices 0.05uward \
-y
#Vote abstain
wardend d tx gov vote 1 abstain \
--from wallet \
--chain-id buenavista-1 \
--gas-adjustment 1.5 \
--gas auto \
--gas-prices 0.05uward \
-y
#Vote NoWithVeto
wardend d tx gov vote 1 NoWithVeto \
--from wallet \
--chain-id buenavista-1 \
--gas-adjustment 1.5 \
--gas auto \
--gas-prices 0.05uward \
-y
Last updated