Check logs
Copy sudo journalctl -u kopid -f
API
Copy sudo systemctl status kopid -f
Node info
Copy kopid status 2>&1 | jq -f
Start service
Copy sudo systemctl start kopid
Reload services
Copy sudo systemctl daemon-reload
Stop service
Copy sudo systemctl stop kopid
Enable Service
Copy sudo systemctl enable kopid
Restart service
Copy sudo systemctl restart kopid
Disable Service
Copy sudo systemctl disable kopid
Your node peer
Copy 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
Copy kopid keys add $WALLET
Restore wallet
Copy kopid keys add $WALLET --recover
List All Wallets
Delete wallet
Copy kopid keys delete $WALLET
Check Balance
Copy kopid q bank balances $WALLET_ADDRESS
Export Key (save to wallet.backup)
Copy kopid keys export $WALLET
View EVM Prived Key
Copy kopid keys unsafe-export-eth-key $WALLET
Import Key (restore from wallet.backup)
Copy kopid keys import $WALLET wallet.backup
Token Management
Withdraw rewards and commission from your validator
Copy kopid tx distribution withdraw-rewards $VALOPER_ADDRESS --from $WALLET --commission --chain-id luwak-1 --gas auto --gas-adjustment 1.5 -y
Check your balance
Copy kopid query bank balances WALLET_ADDRESS
Delegate to Yourself
Copy 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
Copy kopid tx staking delegate ukopi --from --chain-id luwak-1 --gas auto --gas-adjustment 1.5 -y
Redelegate Stake to Another Validator
Copy kopid tx staking redelegate ukopi --from --chain-id luwak-1 --gas auto --gas-adjustment 1.5 -y
Unbond Your Stake
Copy kopid tx staking unbond $( kopid keys show --bech val -a ) ukopi --from --chain-id luwak-1 --gas auto --gas-adjustment 1.5 --fees 600ukopi -y
Transfer Funds to Another Wallet
Copy kopid tx bank send < TO_WALLET_ADDRES S > ukopi --gas auto --gas-adjustment 1.5 -y
Validator Management
Create New Validator
Copy 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 \
-y
Edit Validator
Copy 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
Copy kopid status 2>&1 | jq
Validator Details
Copy kopid q staking validator $( kopid keys show $WALLET --bech val -a )
Jailing info
Copy kopid q slashing signing-info $( kopid tendermint show-validator )
Slashing parameters
Copy kopid q slashing params
Unjail validator
Copy kopid tx slashing unjail --from $WALLET --chain-id luwak-1 --gas auto --gas-adjustment 1.5 -y
Active Validators List
Copy 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 | nl
Check Validator key
Copy [[ $( 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
Copy kopid q slashing signing-info $( kopid tendermint show-validator )
Government
Copy kopid tx gov vote 25 yes --from Chicharito --chain-id luwak-1 --gas-adjustment 1.4 --gas auto --gas-prices 0ukopi -y