Skip to content

📑 Empeiria Cheat Sheet

🔧 Service Operations

Check logs

sudo journalctl -u emped -fo cat

Check service status

sudo systemctl status emped

Node info

emped status 2>&1 | jq

Start service

sudo systemctl start emped

Stop service

sudo systemctl stop emped

Restart service

sudo systemctl restart emped

Reload services

sudo systemctl daemon-reload

Enable service

sudo systemctl enable emped

Disable service

sudo systemctl disable emped

🔑 Key Management

Add New Wallet

emped keys add $WALLET

Restore executing wallet

emped keys add $WALLET --recover

List All Wallets

emped keys list

Delete wallet

emped keys delete $WALLET

Check Balance

emped q bank balances $WALLET_ADDRESS

Export Key (save to wallet.backup)

emped keys export $WALLET

View EVM Private Key

emped keys unsafe-export-eth-key $WALLET

Import Key (restore from wallet.backup)

emped keys import $WALLET wallet.backup

💰 Tokens

Withdraw all rewards

emped tx distribution withdraw-all-rewards --from $WALLET --chain-id empe-testnet-2 --gas auto --gas-adjustment 1.5 --fees 30uempe -y

Withdraw rewards and commission from your validator

emped tx distribution withdraw-rewards $VALOPER_ADDRESS --from $WALLET --commission --chain-id empe-testnet-2 --gas auto --gas-adjustment 1.5 --fees 30uempe -y

Check your balance

emped query bank balances $WALLET_ADDRESS

Delegate to Yourself

emped tx staking delegate $(emped keys show $WALLET --bech val -a) 1000000uempe --from $WALLET --chain-id empe-testnet-2 --gas auto --gas-adjustment 1.5 --fees 30uempe -y

Delegate

emped tx staking delegate <TO_VALOPER_ADDRESS> 1000000uempe --from $WALLET --chain-id empe-testnet-2 --gas auto --gas-adjustment 1.5 --fees 30uempe -y

Redelegate Stake to Another Validator

emped tx staking redelegate $VALOPER_ADDRESS <TO_VALOPER_ADDRESS> 1000000uempe --from $WALLET --chain-id empe-testnet-2 --gas auto --gas-adjustment 1.5 --fees 30uempe -y

Unbond

emped tx staking unbond $(emped keys show $WALLET --bech val -a) 1000000uempe --from $WALLET --chain-id empe-testnet-2 --gas auto --gas-adjustment 1.5 --fees 30uempe -y

Transfer Funds

emped tx bank send $WALLET_ADDRESS <TO_WALLET_ADDRESS> 1000000uempe --from $WALLET --chain-id empe-testnet-2 --gas auto --gas-adjustment 1.5 --fees 30uempe -y

🛡️ Validator Operations

Validator info

emped status 2>&1 | jq

Validator Details

emped q staking validator $(emped keys show $WALLET --bech val -a)

Jailing info

emped q slashing signing-info $(emped tendermint show-validator)

Slashing parameters

emped q slashing params

Unjail validator

emped tx slashing unjail --from $WALLET --chain-id empe-testnet-2 --gas auto --gas-adjustment 1.5 --fees 30uempe -y

Active Validators List

emped 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

[[ $(emped q staking validator $VALOPER_ADDRESS -oj | jq -r .consensus_pubkey.key) = $(emped status | jq -r .ValidatorInfo.PubKey.value) ]] && echo -e "Your key status is ok" || echo -e "Your key status is error"

Signing info

emped q slashing signing-info $(emped tendermint show-validator)

Edit Validator

emped tx staking edit-validator \
--commission-rate 0.05 \
--new-moniker "$MONIKER" \
--identity "" \
--details "Kyronode for all" \
--from $WALLET \
--chain-id empe-testnet-2 \
--gas auto \
--gas-adjustment 1.5 \
--fees 30uempe \
-y

🏛 Governance

Proposals List

emped query gov proposals

View proposal

emped query gov proposal 1

Vote

emped tx gov vote 1 yes --from $WALLET --chain-id empe-testnet-2 --gas auto --gas-adjustment 1.5 --fees 30uempe -y