Service operations
Check logs
Copy sudo journalctl -u canined -f
Start service
Copy sudo systemctl start canined
Stop service
Copy sudo systemctl stop canined
Restart service
Copy sudo systemctl restart canined
Check service status
Copy sudo systemctl status canined
Reload services
Copy sudo systemctl daemon-reload
Enable Service
Copy sudo systemctl enable canined
Disable Service
Copy sudo systemctl disable canined
Node info
Copy canined status 2>&1 | jq
Your node peer
Copy echo $(canined tendermint show-node-id)'@'$(wget -qO- eth0.me)':'$(cat $HOME/.canine/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')
Key management
Add New Wallet
Copy canined keys add $WALLET
Restore executing wallet
Copy canined keys add $WALLET --recover
List All Wallets
Delete wallet
Copy canined keys delete $WALLET
Check Balance
Copy canined q bank balances $WALLET_ADDRESS
Export Key (save to wallet.backup)
Copy canined keys export $WALLET
View EVM Prived Key
Copy canined keys unsafe-export-eth-key $WALLET
Import Key (restore from wallet.backup)
Copy canined keys import $WALLET wallet.backup
Tokens
WITHDRAW REWARDS FROM ALL VALIDATORS
Copy canined tx distribution withdraw-all-rewards --from wallet --chain-id jackal-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.002ujkl -y
WITHDRAW COMMISSION AND REWARDS FROM YOUR VALIDATOR
Copy canined tx distribution withdraw-rewards $(canined keys show wallet --bech val -a) --commission --from wallet --chain-id jackal-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.002ujkl -y
DELEGATE TOKENS TO YOURSELF
Copy canined tx staking delegate $(canined keys show wallet --bech val -a) 1000000ujkl --from wallet --chain-id jackal-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.002ujkl -y
DELEGATE TOKENS TO VALIDATOR
Copy canined tx staking delegate <TO_VALOPER_ADDRESS> 1000000ujkl --from wallet --chain-id jackal-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.002ujkl -y
REDELEGATE TOKENS TO ANOTHER VALIDATOR
Copy canined tx staking redelegate $(canined keys show wallet --bech val -a) <TO_VALOPER_ADDRESS> 1000000ujkl --from wallet --chain-id jackal-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.002ujkl -y
UNBOND TOKENS FROM YOUR VALIDATOR
Copy canined tx staking unbond $(canined keys show wallet --bech val -a) 1000000ujkl --from wallet --chain-id jackal-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.002ujkl -y
SEND TOKENS TO THE WALLET
Copy canined tx bank send wallet <TO_WALLET_ADDRESS> 1000000ujkl --from wallet --chain-id jackal-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.002ujkl -y
Governance
LIST ALL PROPOSALS
Copy canined query gov proposals
VIEW PROPOSAL BY ID
Copy canined query gov proposal 1
VOTE ‘YES’
Copy canined tx gov vote 1 yes --from wallet --chain-id jackal-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.002ujkl -y
VOTE ‘NO’
Copy canined tx gov vote 1 no --from wallet --chain-id jackal-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.002ujkl -y
VOTE ‘ABSTAIN’
Copy canined tx gov vote 1 abstain --from wallet --chain-id jackal-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.002ujkl -y
VOTE ‘NOWITHVETO’
Copy canined tx gov vote 1 NoWithVeto --from wallet --chain-id jackal-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.002ujkl -y
Validator operations
Create New Validator
Copy canined tx staking create-validator \
--amount 1000000ujkl \
--from < yourwalle t > \
--commission-max-change-rate "0.1" \
--commission-max-rate "0.2" \
--commission-rate "0.1" \
--min-self-delegation "1" \
--pubkey $( canined tendermint show-validator ) \
--moniker $yourMONIKER \
--chain-id jackal-1 \
--identity= "" \
--details= "" \
--website= "" -y
Edit Existing Validator
Copy canined tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "$MONIKER" \
--identity "" \
--details "" \
--from $WALLET \
--chain-id jackal-1 \
--gas auto --gas-adjustment 1.5 \
-y
Validator info
Copy canined status 2>&1 | jq
Validator Details
Copy canined q staking validator $( canined keys show $WALLET --bech val -a )
Jailing info
Copy canined q slashing signing-info $( canined tendermint show-validator )
Slashing parameters
Copy canined q slashing params
Unjail validator
Copy canined tx slashing unjail --from $WALLET --chain-id jackal-1 --gas auto --gas-adjustment 1.5 -y
Active Validators List
Copy canined 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 [[ $(canined q staking validator $VALOPER_ADDRESS -oj | jq -r .consensus_pubkey.key) = $(arkhd status | jq -r .ValidatorInfo.PubKey.value) ]] && echo -e "Your key status is ok" || echo -e "Your key status is error"
Signing info
Copy canined q slashing signing-info $( canined tendermint show-validator )
REMOVE NODE
Copy cd $HOME
sudo systemctl stop canined .service
sudo systemctl disable canined .service
sudo rm /etc/systemd/system/canined.service
sudo systemctl daemon-reload
rm -f $(which canined)
rm -rf $HOME/.canine
rm -rf $HOME/canine-chain
Last updated 5 months ago