Service operations ⚙️
Check logs
Copy sudo journalctl -u pellcored -fo cat
Start service
Copy sudo systemctl start pellcored
Stop service
Copy sudo systemctl stop pellcored
Restart service
Copy sudo systemctl restart pellcored
Check service status
Copy sudo systemctl status pellcored
Reload services
Copy sudo systemctl daemon-reload
Enable Service
Copy sudo systemctl enable pellcored
Disable Service
Copy sudo systemctl disable pellcored
Node info
Copy pellcored status 2>&1 | jq
Your node peer
Copy 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
Copy pellcored keys add $WALLET
Restore executing wallet
Copy pellcored keys add $WALLET --recover
List All Wallets
Delete wallet
Copy pellcored keys delete $WALLET
Check Balance
Copy pellcored q bank balances $WALLET_ADDRESS
Export Key (save to wallet.backup)
Copy pellcored keys export $WALLET
View EVM Prived Key
Copy pellcored keys unsafe-export-eth-key $WALLET
Import Key (restore from wallet.backup)
Copy pellcored keys import $WALLET wallet.backup
Tokens
Withdraw all rewards
Copy 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
Copy 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
Copy pellcored query bank balances $WALLET_ADDRESS
Delegate to Yourself
Copy 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
Copy pellcored tx staking delegate < TO_VALOPER_ADDRES S > 1000000apell --from $WALLET --chain-id ignite_186-1 --gas auto --gas-adjustment 1.5 -y
Redelegate Stake to Another Validator
Copy pellcored tx staking redelegate $VALOPER_ADDRESS < TO_VALOPER_ADDRES S > 1000000apell --from $WALLET --chain-id ignite_186-1 --gas auto --gas-adjustment 1.5 -y
Unbond
Copy 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
Copy pellcored tx bank send $WALLET_ADDRESS < TO_WALLET_ADDRES S > 1000000apell --gas auto --gas-adjustment 1.5 -y
Validator operations
Create New Validator
Copy 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
Copy 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
Copy pellcored status 2>&1 | jq
Validator Details
Copy pellcored q staking validator $( pellcored keys show $WALLET --bech val -a )
Jailing info
Copy pellcored q slashing signing-info $( pellcored tendermint show-validator )
Slashing parameters
Copy pellcored q slashing params
Unjail validator
Copy pellcored tx slashing unjail --from $WALLET --chain-id ignite_186-1 --gas auto --gas-adjustment 1.5 -y
Active Validators List
Copy 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
Copy [[ $( 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
Copy pellcored q slashing signing-info $( pellcored tendermint show-validator )
Governance
Create New Text Proposal
Copy pellcored tx gov submit-proposal \
--title "" \
--description "" \
--deposit 1000000apell \
--type Text \
--from $WALLET \
--gas auto --gas-adjustment 1.5 \
-y
Proposals List
Copy pellcored query gov proposals
View proposal
Copy pellcored query gov proposal 1
Vote
Copy pellcored tx gov vote 1 yes --from $WALLET --chain-id ignite_186-1 --gas auto --gas-adjustment 1.5 -y