Useful Commands

Service operations

Check logs

sudo journalctl -u celestia-appd -f

Restart service

sudo systemctl restart celestia-appd

Get sync info

celestia-appd status 2>&1 | jq .SyncInfo

Get validator info

celestia-appd status 2>&1 | jq .ValidatorInfo

Key management

Add New Wallet

celestia-appd keys add $WALLET

Restore executing wallet

celestia-appd keys add $WALLET --recover

List All Wallets

celestia-appd keys list

Delete wallet

celestia-appd keys delete $WALLET

Check Balance

celestia-appd q bank balances $WALLET_ADDRESS 

Export Key (save to wallet.backup)

celestia-appd keys export $WALLET

View EVM Prived Key

celestia-appd keys unsafe-export-eth-key $WALLET

Import Key (restore from wallet.backup)

celestia-appd keys import $WALLET wallet.backup

Token management

Withdraw all rewards

celestia-appd tx distribution withdraw-all-rewards --from $WALLET --chain-id mocha-4 --gas auto --gas-adjustment 1.5 --gas-prices 0.005utia 

Withdraw rewards and commission from your validator

celestia-appd tx distribution withdraw-rewards $VALOPER_ADDRESS --from $WALLET --commission --chain-id mocha-4 --gas auto --gas-adjustment 1.5 --gas-prices 0.005utia -y 

Check your balance

celestia-appd query bank balances $WALLET_ADDRESS

Delegate to Yourself

celestia-appd tx staking delegate $(celestia-appd keys show $WALLET --bech val -a) 1000000utia --from $WALLET --chain-id mocha-4 --gas auto --gas-adjustment 1.5 --gas-prices 0.005utia -y 

Delegate

celestia-appd tx staking delegate <TO_VALOPER_ADDRESS> 1000000utia --from $WALLET --chain-id mocha-4 --gas auto --gas-adjustment 1.5 --gas-prices 0.005utia -y 	

Redelegate Stake to Another Validator

celestia-appd tx staking redelegate $VALOPER_ADDRESS <TO_VALOPER_ADDRESS> 1000000utia --from $WALLET --chain-id mocha-4 --gas auto --gas-adjustment 1.5 --gas-prices 0.005utia -y 

Unbond

celestia-appd tx staking unbond $(celestia-appd keys show $WALLET --bech val -a) 1000000utia --from $WALLET --chain-id mocha-4 --gas auto --gas-adjustment 1.5 --gas-prices 0.005utia -y 

Transfer Funds

celestia-appd tx bank send $WALLET_ADDRESS <TO_WALLET_ADDRESS> 1000000utia --gas auto --gas-adjustment 1.5 --gas-prices 0.005utia -y 

Validator operations

Create New Validator

celestia-appd tx staking create-validator \
--amount 1000000utia \
--from $WALLET \
--commission-rate 0.1 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--pubkey $(celestia-appd tendermint show-validator) \
--moniker "$MONIKER" \
--identity "" \
--details "" \
--chain-id mocha-4 \
--gas auto --gas-adjustment 1.5 --gas-prices 0.005utia \
-y 

Edit Existing Validator

celestia-appd tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "$MONIKER" \
--identity "" \
--details "" \
--from $WALLET \
--chain-id mocha-4 \
--gas auto --gas-adjustment 1.5 --gas-prices 0.005utia \
-y 

Validator info

celestia-appd status 2>&1 | jq

Validator Details

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

Jailing info

celestia-appd q slashing signing-info $(celestia-appd tendermint show-validator) 

Slashing parameters

celestia-appd q slashing params 

Unjail validator

celestia-appd tx slashing unjail --from $WALLET --chain-id mocha-4 --gas auto --gas-adjustment 1.5 --gas-prices 0.005utia -y 

Last updated