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