Testnet Networks
Cheat Sheet

Service operations ⚙️

Check logs

sudo journalctl -u pellcored -fo cat

Check service status

sudo systemctl status pellcored

Start service

sudo systemctl start pellcored

Reload service

sudo systemctl daemon-reload

Stop service

sudo systemctl stop pellcored

Enable Service

sudo systemctl enable pellcored

Restart service

sudo systemctl restart pellcored

Disable Service

sudo systemctl disable pellcored

Node Info

pellcored status 2>&1 | jq

Your node peer

echo $(pellcored tendermint show-node-id)'@'$(wget -qO- eth0.me)':'$(cat $HOME/.pellcored/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')

Key management

Add New Wallet

pellcored keys add $WALLET

Restore executing wallet

pellcored keys add $WALLET --recover

List All Wallets

pellcored keys list

Delete wallet

pellcored keys delete $WALLET

Check Balance

pellcored q bank balances $WALLET_ADDRESS

Export Key (save to wallet.backup)

pellcored keys export $WALLET
View EVM Prived Key
```bash copy
pellcored keys unsafe-export-eth-key $WALLET

Import Key (restore from wallet.backup)

pellcored keys import $WALLET wallet.backup

Withdraw all rewards

pellcored tx distribution withdraw-all-rewards --from $WALLET --chain-id ignite_186-1 --fees 30apell --gas 300000 

Withdraw rewards and commission from your validator

pellcored tx distribution withdraw-rewards $VALOPER_ADDRESS --from $WALLET --commission --chain-id ignite_186-1 --fees 30apell --gas 300000 -y 

Check your balance

pellcored query bank balances $WALLET_ADDRESS

Delegate to Yourself

pellcored tx staking delegate $(pellcored keys show $WALLET --bech val -a) 1000000apell --from $WALLET --chain-id ignite_186-1 --fees 30apell --gas 300000 -y 

Delegate

pellcored tx staking delegate <TO_VALOPER_ADDRESS> 1000000apell --from $WALLET --chain-id ignite_186-1 --fees 30apell --gas 300000 -y 	

Redelegate Stake to Another Validator

pellcored tx staking redelegate $VALOPER_ADDRESS <TO_VALOPER_ADDRESS> 1000000apell --from $WALLET --chain-id ignite_186-1 --fees 30apell --gas 300000 -y 

Unbond

pellcored tx staking unbond $(pellcored keys show $WALLET --bech val -a) 1000000apell --from $WALLET --chain-id ignite_186-1 --fees 30apell --gas 300000 -y 

Transfer Funds

pellcored tx bank send $WALLET_ADDRESS <TO_WALLET_ADDRESS> 1000000apell --fees 30apell --gas 300000 -y

Validator info

pellcored status 2>&1 | jq

Validator Details

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

Jailing info

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

Slashing parameters

pellcored q slashing params 

Unjail validator

pellcored tx slashing unjail --from $WALLET --chain-id ignite_186-1 --fees 30apell --gas 300000 -y 

Active Validators List

pellcored 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

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

Signing info

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