Node CLI Cheatsheet
CLI Cheatsheet
- Always be careful with the capitalized words
- Specify
--chain-id
Wallet Management
Add Wallet Specify the value <wallet> with your own wallet name
epixd keys add walletRecover Wallet
epixd keys add wallet --recoverList Wallet
epixd keys listDelete Wallet
epixd keys delete walletCheck Wallet Balance
epixd q bank balances $(epixd keys show wallet -a)Validator Management
Please adjust <wallet> , MONIKER , YOUR_KEYBASE_ID , YOUR_DETAILS , YOUUR_WEBSITE_URL
Create Validator (Staking)
epixd comet show-validatornano /root/.epixd/validator.json{
"pubkey": ,
"amount": "1000000000000000000aepix",
"moniker": "",
"identity": "",
"website": "",
"security": "",
"details": "",
"commission-rate": "0.05",
"commission-max-rate": "0.2",
"commission-max-change-rate": "0.01",
"min-self-delegation": "1"
}epixd tx staking create-validator $HOME/.epixd/validator.json \
--from wallet \
--chain-id epix_1916-1 \
--gas-prices="0.001aepix" \
--gas-adjustment=1.2 \
--gas=autoEdit Validator
epixd tx staking edit-validator \
--new-moniker="" \
--identity="" \
--website="" \
--details="" \
--chain-id=axone-1 \
--commission-rate="0.02" \
--from=wallet \
--gas-prices="0.001aepix" \
--gas-adjustment=1.2 \
--gas=autoUnjail Validator
epixd tx slashing unjail --from wallet --chain-id epix_1916-1 --gas-adjustment=1.2 --gas-prices="0.001aepix" --gas=autoCheck Jailed Reason
epixd query slashing signing-info $(epixd tendermint show-validator)Token Management
Withdraw Rewards
epixd tx distribution withdraw-all-rewards --from wallet --chain-id epix_1916-1 --gas-adjustment=1.2 --gas-prices="0.001aepix" --gas=autoWithdraw Rewards with Comission
epixd tx distribution withdraw-rewards $(epixd keys show wallet --bech val -a) 1 --commission--from wallet --chain-id epix_1916-1 --gas-adjustment=1.2 --gas-prices="0.001aepix" --gas=autoDelegate Token to your own validator
epixd tx staking delegate $(epixd keys show wallet --bech val -a) 1000000aepix --from wallet --chain-id epix_1916-1 --gas-adjustment=1.2 --gas-prices="0.001aepix" --gas=autoDelegate Token to other validator
epixd tx staking redelegate $(epixd keys show wallet --bech val -a) <TO_VALOPER_ADDRESS> 1000000aepix --from wallet --chain-id epix_1916-1 --gas-adjustment=1.2 --gas-prices="0.001aepix" --gas=autoUnbond Token from your validator
epixd tx staking unbond $(epixd keys show wallet --bech val -a) 1000000aepix --from wallet --chain-id epix_1916-1 --gas-adjustment=1.2 --gas-prices="0.001aepix" --gas=autoSend Token to another wallet
epixd tx bank send wallet <TO_WALLET_ADDRESS> 1000000aepix --from wallet --chain-id epix_1916-1 --gas-adjustment=1.2 --gas-prices="0.001aepix" --gas=autoGovernance
Vote You can change the value of yes to no,abstain,nowithveto
epixd tx gov vote 1 yes --from wallet --chain-id epix_1916-1 --gas-adjustment=1.2 --gas-prices="0.001aepix" --gas=autoOther
Set Your own Custom Ports You can change value CUSTOM_PORT=44 To any other ports
- PORT=399
PORT=399
sed -i -e "s%:26657%:${PORT}57%" $HOME/.epixd/config/client.toml
sed -i -e "s%:26658%:${PORT}58%; s%:26657%:${PORT}57%; s%:6060%:${PORT}60%; s%:26656%:${PORT}56%; s%:26660%:${PORT}61%" $HOME/.epixd/config/config.toml
sed -i -e "s%:1317%:${PORT}17%; s%:9090%:${PORT}90%" $HOME/.epixd/config/app.tomlEnable Indexing usually enabled by default
sed -i 's|^indexer *=.*|indexer = "kv"|' $HOME/.epixd/config/config.tomlDisable Indexing
sed -i 's|^indexer *=.*|indexer = "null"|' $HOME/.epixd/config/config.tomlReset Chain Data
epixd comet unsafe-reset-all --home $HOME/.epixd --keep-addr-bookDelete Node
WARNING! Use this command wisely Backup your key first it will remove Defund from your system
sudo systemctl stop epixd
sudo systemctl disable epixd
sudo rm /etc/systemd/system/epixd.service
sudo systemctl daemon-reload
rm -f $(which epixd)
rm -rf .epixd
rm -rf epix