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