Useful commands
Service operations ⚙️
Check logs
sudo journalctl -u pellcored -fo catStart service
sudo systemctl start pellcoredStop service
sudo systemctl stop pellcoredRestart service
sudo systemctl restart pellcoredCheck service status
sudo systemctl status pellcoredReload services
sudo systemctl daemon-reloadEnable Service
sudo systemctl enable pellcoredDisable Service
sudo systemctl disable pellcoredNode info
pellcored status 2>&1 | jqYour 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 $WALLETRestore executing wallet
pellcored keys add $WALLET --recoverList All Wallets
pellcored keys listDelete wallet
pellcored keys delete $WALLETCheck Balance
pellcored q bank balances $WALLET_ADDRESS Export Key (save to wallet.backup)
pellcored keys export $WALLETView EVM Prived Key
pellcored keys unsafe-export-eth-key $WALLETImport Key (restore from wallet.backup)
pellcored keys import $WALLET wallet.backupTokens
Withdraw all rewards
pellcored tx distribution withdraw-all-rewards --from $WALLET --chain-id ignite_186-1 --gas auto --gas-adjustment 1.5 Withdraw rewards and commission from your validator
pellcored tx distribution withdraw-rewards $VALOPER_ADDRESS --from $WALLET --commission --chain-id ignite_186-1 --gas auto --gas-adjustment 1.5 -y Check your balance
pellcored query bank balances $WALLET_ADDRESSDelegate to Yourself
pellcored tx staking delegate $(pellcored keys show $WALLET --bech val -a) 1000000apell --from $WALLET --chain-id ignite_186-1 --gas auto --gas-adjustment 1.5 -y Delegate
pellcored tx staking delegate <TO_VALOPER_ADDRESS> 1000000apell --from $WALLET --chain-id ignite_186-1 --gas auto --gas-adjustment 1.5 -y Redelegate Stake to Another Validator
pellcored tx staking redelegate $VALOPER_ADDRESS <TO_VALOPER_ADDRESS> 1000000apell --from $WALLET --chain-id ignite_186-1 --gas auto --gas-adjustment 1.5 -y Unbond
pellcored tx staking unbond $(pellcored keys show $WALLET --bech val -a) 1000000apell --from $WALLET --chain-id ignite_186-1 --gas auto --gas-adjustment 1.5 -y Transfer Funds
pellcored tx bank send $WALLET_ADDRESS <TO_WALLET_ADDRESS> 1000000apell --gas auto --gas-adjustment 1.5 -y Validator operations
Create New Validator
pellcored tx staking create-validator \
--amount 1000000apell \
--from $WALLET \
--commission-rate 0.1 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--pubkey $(pellcored tendermint show-validator) \
--moniker "$MONIKER" \
--identity "" \
--details "xxxxxxxx" \
--chain-id ignite_186-1 \
--gas auto --gas-adjustment 1.5 \
-y Edit Existing Validator
pellcored tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "$MONIKER" \
--identity "" \
--details "xxxxxxxx" \
--from $WALLET \
--chain-id ignite_186-1 \
--gas auto --gas-adjustment 1.5 \
-y Validator info
pellcored status 2>&1 | jqValidator 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 --gas auto --gas-adjustment 1.5 -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) Governance
Create New Text Proposal
pellcored tx gov submit-proposal \
--title "" \
--description "" \
--deposit 1000000apell \
--type Text \
--from $WALLET \
--gas auto --gas-adjustment 1.5 \
-y Proposals List
pellcored query gov proposals View proposal
pellcored query gov proposal 1 Vote
pellcored tx gov vote 1 yes --from $WALLET --chain-id ignite_186-1 --gas auto --gas-adjustment 1.5 -y Last updated