Cheat Sheet

This guide covers the Operation of empe node.

To install empe node, you need to have several prerequisites in place. Here's a list of all the essential pre-requisites for setting up and working on this project.

Service Operation

1

Check logs

journalctl -u empe.service -f --no-hostname -o cat
2

Check service status

sudo systemctl status emped
3

Node info

emped status 2>&1 | jq
4

Start service

sudo systemctl start empe.service
5

Stop services

sudo systemctl stop empe.service
6

Restart Services

sudo systemctl restart empe.service

Wallet Management

1

Add New Wallet

emped keys add wallet
2

Restore executing wallet

emped keys add wallet --recover
3

List All Wallets

emped keys list
4

Delete wallet

emped keys delete wallet
5

Check Balance

emped q bank balances $(emped keys show wallet -a)

Token Operation

1

Withdraw all rewards

emped tx distribution withdraw-all-rewards --from wallet --chain-id empe-testnet-2 --fees 800note -y
2

Withdraw rewards and commission from your validator

emped tx distribution withdraw-rewards $VALOPER_ADDRESS --from wallet --commission --chain-id empe-testnet-2 --fees 800note -y
3

Delegate to Yourself

emped tx staking delegate $(emped keys show wallet --bech val -a) 1000000note --from wallet --chain-id empe-testnet-2 --fees 800note -y
4

Delegate

emped tx staking delegate TO_VALOPER_ADDRESS 1000000note --from wallet --chain-id empe-testnet-2 --fees 800note -y
5

Redelegate Stake to Another Validator

emped tx staking redelegate $VALOPER_ADDRESS TO_VALOPER_ADDRESS 1000000note --from wallet --chain-id empe-testnet-2 --fees 800note -y
6

Unbond

emped tx staking unbond $(emped keys show wallet --bech val -a) 1000000note --from wallet --chain-id empe-testnet-2 --fees 800note -y
7

Transfer Funds

emped tx bank send wallet TO_WALLET_ADDRESS 1000000note --chain-id empe-testnet-2 --fees 800note -y

Validator Operation

1

Edit Existing Validator

emped tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "$MONIKER" \
--identity "" \
--details "" \
--from wallet \
--chain-id empe-testnet-2 \
--fees 800note \
-y
2

Validator Info

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

Unjail Validator

emped tx slashing unjail --from wallet --chain-id empe-testnet-2 --fees 800note -y

Governance

1

View Proposal List

emped query gov proposals
2

View Proposal By No

emped query gov proposal 1
3

Vote Yes

emped tx gov vote 1 yes --from wallet --chain-id empe-testnet-2 --fees 800note
4

Vote No

emped tx gov vote 1 no --from wallet --chain-id empe-testnet-2 --fees 800note
5

Vote Abstain

emped tx gov vote 1 abstain --from wallet --chain-id empe-testnet-2 --fees 800note
6

Vote No With Veto

emped tx gov vote 1 no_with_veto --from wallet --chain-id empe-testnet-2 --fees 800note