commands
Key management
Add new key
humansd keys add walletRecover existing key
humansd keys add wallet --recoverList all keys
humansd keys listDelete key
humansd keys delete walletExport key to the file
humansd keys export walletImport key from the file
humansd keys import wallet wallet.backupQuery wallet balance
humansd q bank balances $(humansd keys show wallet -a)Validator management
Create new validator
humansd tx staking create-validator \
--amount 1000000aheart \
--pubkey $(humansd tendermint show-validator) \
--moniker "MONIKER_NAME" \
--identity "KEYBASE_ID" \
--details "DETAILS" \
--website "WEBSITE_URL" \
--chain-id humans_1089-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 1800000000aheart \
-yEdit existing validator
humansd tx staking edit-validator \
--new-moniker "MONIKER_NAME" \
--identity "KEYBASE_ID" \
--details "DETAILS" \
--website "WEBSITE_URL" \
--chain-id humans_1089-1 \
--commission-rate 0.05 \
--from wallet \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 1800000000aheart \
-yRemove node
cd $HOME && \
sudo systemctl stop humansd && \
sudo systemctl disable humansd && \
sudo rm /etc/systemd/system/humansd.service && \
sudo systemctl daemon-reload && \
rm -f $(which humansd) && \
rm -rf $HOME/.humansd && \
rm -rf $HOME/humansUnjail validator
humansd tx slashing unjail --from wallet --chain-id humans_1089-1 --gas-adjustment 1.4 --gas auto --gas-prices 1800000000aheart -yJail reason
humansd query slashing signing-info $(humansd tendermint show-validator)List all active validators
humansd 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 | nlList all inactive validators
humansd 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 | nlView validator details
humansd q staking validator $(humansd keys show wallet --bech val -a)Token management
Withdraw rewards from all validators
humansd tx distribution withdraw-all-rewards --from wallet --chain-id humans_1089-1 --gas-adjustment 1.4 --gas auto --gas-prices 1800000000aheart -yWithdraw commission and rewards from your validator
humansd tx distribution withdraw-rewards $(humansd keys show wallet --bech val -a) --commission --from wallet --chain-id humans_1089-1 --gas-adjustment 1.4 --gas auto --gas-prices 1800000000aheart -yDelegate tokens to yourself
humansd tx staking delegate $(humansd keys show wallet --bech val -a) 1000000aheart --from wallet --chain-id humans_1089-1 --gas-adjustment 1.4 --gas auto --gas-prices 1800000000aheart -yDelegate tokens to validator
humansd tx staking delegate <TO_VALOPER_ADDRESS> 1000000aheart --from wallet --chain-id humans_1089-1 --gas-adjustment 1.4 --gas auto --gas-prices 1800000000aheart -yRedelegate tokens to another validator
humansd tx staking redelegate $(humansd keys show wallet --bech val -a) <TO_VALOPER_ADDRESS> 1000000aheart --from wallet --chain-id humans_1089-1 --gas-adjustment 1.4 --gas auto --gas-prices 1800000000aheart -yUnbond tokens from your validator
humansd tx staking unbond $(humansd keys show wallet --bech val -a) 1000000aheart --from wallet --chain-id humans_1089-1 --gas-adjustment 1.4 --gas auto --gas-prices 1800000000aheart -ySend tokens to the wallet
humansd tx bank send wallet <TO_WALLET_ADDRESS> 1000000aheart --from wallet --chain-id humans_1089-1 --gas-adjustment 1.4 --gas auto --gas-prices 1800000000aheart -yGovernance
List all proposals
humansd query gov proposalsView proposal by id
humansd query gov proposal 1Vote 'Yes'
humansd tx gov vote 1 yes --from wallet --chain-id humans_1089-1 --gas-adjustment 1.4 --gas auto --gas-prices 1800000000aheart -yVote 'No'
humansd tx gov vote 1 no --from wallet --chain-id humans_1089-1 --gas-adjustment 1.4 --gas auto --gas-prices 1800000000aheart -yVote 'Abstain'
humansd tx gov vote 1 abstain --from wallet --chain-id humans_1089-1 --gas-adjustment 1.4 --gas auto --gas-prices 1800000000aheart -yVote 'NoWithVeto'
humansd tx gov vote 1 NoWithVeto --from wallet --chain-id humans_1089-1 --gas-adjustment 1.4 --gas auto --gas-prices 1800000000aheart -yMaintenance
Get validator info
humansd status 2>&1 | jq .ValidatorInfoGet sync info
humansd status 2>&1 | jq .SyncInfoGet node peer
echo $(humansd tendermint show-node-id)'@'$(curl -s ifconfig.me)':'$(cat $HOME/.humansd/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')Check if validator key is correct
[[ $(humansd q staking validator $(humansd keys show wallet --bech val -a) -oj | jq -r .consensus_pubkey.key) = $(humansd status | jq -r .ValidatorInfo.PubKey.value) ]] && echo -e "\n\e[1m\e[32mTrue\e[0m\n" || echo -e "\n\e[1m\e[31mFalse\e[0m\n"Get live peers
curl -sS http://localhost:12257/net_info | jq -r '.result.peers[] | "\(.node_info.id)@\(.remote_ip):\(.node_info.listen_addr)"' | awk -F ':' '{print $1":"$(NF)}'Reset chain data
humansd tendermint unsafe-reset-all --keep-addr-book --home $HOME/.humansd --keep-addr-bookLast updated