Skip to content

📑 Lumera Cheat Sheet

🔧 Service Operations

Check logs

sudo journalctl -u lumerad -fo cat

Check service status

sudo systemctl status lumerad

Node info

lumerad status 2>&1 | jq

Start service

sudo systemctl start lumerad

Stop service

sudo systemctl stop lumerad

Restart service

sudo systemctl restart lumerad

Reload services

sudo systemctl daemon-reload

Enable service

sudo systemctl enable lumerad

Disable service

sudo systemctl disable lumerad

🔑 Key Management

Add New Wallet

lumerad keys add $WALLET

Restore executing wallet

lumerad keys add $WALLET --recover

List All Wallets

lumerad keys list

Delete wallet

lumerad keys delete $WALLET

Check Balance

lumerad q bank balances $WALLET_ADDRESS

Export Key (save to wallet.backup)

lumerad keys export $WALLET

View EVM Private Key

lumerad keys unsafe-export-eth-key $WALLET

Import Key (restore from wallet.backup)

lumerad keys import $WALLET wallet.backup

💰 Tokens

Withdraw all rewards

lumerad tx distribution withdraw-all-rewards --from $WALLET --chain-id lumera-testnet-2 --gas-prices=0.025ulume --gas-adjustment=1.5 --gas=auto -y

Withdraw rewards and commission from your validator

lumerad tx distribution withdraw-rewards $VALOPER_ADDRESS --from $WALLET --commission --chain-id lumera-testnet-2 --gas-prices=0.025ulume --gas-adjustment=1.5 --gas=auto -y

Check your balance

lumerad query bank balances $WALLET_ADDRESS

Delegate to Yourself

lumerad tx staking delegate $(lumerad keys show $WALLET --bech val -a) 1000000ulume --from $WALLET --chain-id lumera-testnet-2 --gas-prices=0.025ulume --gas-adjustment=1.5 --gas=auto -y

Delegate

lumerad tx staking delegate <TO_VALOPER_ADDRESS> 1000000ulume --from $WALLET --chain-id lumera-testnet-2 --gas-prices=0.025ulume --gas-adjustment=1.5 --gas=auto -y

Redelegate Stake to Another Validator

lumerad tx staking redelegate $VALOPER_ADDRESS <TO_VALOPER_ADDRESS> 1000000ulume --from $WALLET --chain-id lumera-testnet-2 --gas-prices=0.025ulume --gas-adjustment=1.5 --gas=auto -y

Unbond

lumerad tx staking unbond $(lumerad keys show $WALLET --bech val -a) 1000000ulume --from $WALLET --chain-id lumera-testnet-2 --gas-prices=0.025ulume --gas-adjustment=1.5 --gas=auto -y

Transfer Funds

lumerad tx bank send $WALLET_ADDRESS <TO_WALLET_ADDRESS> 1000000ulume --gas-prices=0.025ulume --gas-adjustment=1.5 --gas=auto -y

🛡️ Validator Operations

Validator info

lumerad status 2>&1 | jq

Validator Details

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

Jailing info

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

Slashing parameters

lumerad q slashing params

Unjail validator

lumerad tx slashing unjail --from $WALLET --chain-id lumera-testnet-2 --gas-prices=0.025ulume --gas-adjustment=1.5 --gas=auto -y

Active Validators List

lumerad 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

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

Signing info

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

Edit Validator

lumerad tx staking edit-validator \
--commission-rate 0.05 \
--new-moniker "$MONIKER" \
--identity "" \
--details "Kyronode for all" \
--from $WALLET \
--chain-id lumera-testnet-2 \
--fees 0.025ulume \
--gas-adjustment 1.3 \
--gas auto \
-y

🏛 Governance

Proposals List

lumerad query gov proposals

View proposal

lumerad query gov proposal 1

Vote

lumerad tx gov vote 1 yes --from $WALLET --chain-id lumera-testnet-2 --gas-prices=0.025ulume --gas-adjustment=1.5 --gas=auto -y