๐ฐ๏ธCommand
Check logs
sudo journalctl -u kopid -fAPI
sudo systemctl status kopid -fNode info
kopid status 2>&1 | jq -fStart service
sudo systemctl start kopidReload services
sudo systemctl daemon-reloadStop service
sudo systemctl stop kopidEnable Service
sudo systemctl enable kopidRestart service
sudo systemctl restart kopidDisable Service
sudo systemctl disable kopidYour node peer
echo $(kopid tendermint show-node-id)'@'$(wget -qO- eth0.me)':'$(cat $HOME/.kopid/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')Key Management
Add New Wallet
kopid keys add $WALLETRestore wallet
kopid keys add $WALLET --recoverList All Wallets
kopid keys listDelete wallet
kopid keys delete $WALLETCheck Balance
kopid q bank balances $WALLET_ADDRESSExport Key (save to wallet.backup)
kopid keys export $WALLETView EVM Prived Key
kopid keys unsafe-export-eth-key $WALLETImport Key (restore from wallet.backup)
kopid keys import $WALLET wallet.backupToken Management
Withdraw rewards and commission from your validator
kopid tx distribution withdraw-rewards $VALOPER_ADDRESS --from $WALLET --commission --chain-id luwak-1 --gas auto --gas-adjustment 1.5 -y Check your balance
kopid query bank balances WALLET_ADDRESSDelegate to Yourself
kopid tx staking delegate $(kopid keys show $WALLET --bech val -a) 1000000ukopi --from $WALLET --chain-id luwak-1 --gas auto --gas-adjustment 1.5 -y Delegate
kopid tx staking delegate ukopi --from --chain-id luwak-1 --gas auto --gas-adjustment 1.5 -yRedelegate Stake to Another Validator
kopid tx staking redelegate ukopi --from --chain-id luwak-1 --gas auto --gas-adjustment 1.5 -yUnbond Your Stake
kopid tx staking unbond $(kopid keys show --bech val -a) ukopi --from --chain-id luwak-1 --gas auto --gas-adjustment 1.5 --fees 600ukopi -yTransfer Funds to Another Wallet
kopid tx bank send <TO_WALLET_ADDRESS> ukopi --gas auto --gas-adjustment 1.5 -yValidator Management
Create New Validator
kopid tx staking create-validator \
--amount 1000000kopid \
--from $WALLET \
--commission-rate 0.1 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--pubkey $($kopid tendermint show-validator) \
--moniker "$MONIKER" \
--identity "$MyIdentity" \
--details " Let's aim for a bright future ๐ฎ" \
--chain-id luwak-1 \
--gas auto --gas-adjustment 1.5 \
-yEdit Validator
kopid tx staking create-validator \
--kopid tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "$MONIKER" \
--identity "" \
--details " Let's aim for a bright future ๐ฎ" \
--from $WALLET \
--chain-id luwak-1 \
--gas auto --gas-adjustment 1.5 \
-y Validator info
kopid status 2>&1 | jqValidator Details
kopid q staking validator $(kopid keys show $WALLET --bech val -a)Jailing info
kopid q slashing signing-info $(kopid tendermint show-validator)Slashing parameters
kopid q slashing paramsUnjail validator
kopid tx slashing unjail --from $WALLET --chain-id luwak-1 --gas auto --gas-adjustment 1.5 -yActive Validators List
kopid 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 | nlCheck Validator key
[[ $(kopid q staking validator $VALOPER_ADDRESS -oj | jq -r .consensus_pubkey.key) = $(kopid status | jq -r .ValidatorInfo.PubKey.value) ]] && echo -e "Your key status is ok" || echo -e "Your key status is error"Signing info
kopid q slashing signing-info $(kopid tendermint show-validator)Government
kopid tx gov vote 25 yes --from Chicharito --chain-id luwak-1 --gas-adjustment 1.4 --gas auto --gas-prices 0ukopi -yLast updated
Was this helpful?