Command
Wallet:
Add New Wallet:
kopid keys add wallet
Restore executing wallet:
kopid keys add wallet --recover
List All Wallets:
kopid keys list
Delete wallet:
kopid keys delete wallet
Check Balance:
kopid q bank balances $(kopid keys show wallet -a)
Validator:
Create Validator:
- Show pub key:
kopid tendermint show-validator
- Create validator.json
kopid tendermint show-validator
nano $HOME/.kopid/config/vaidator.json
- Copy, paste and edit:
{
"pubkey": {
"@type":"/cosmos.crypto.ed25519.PubKey",
"key":"<Paste Key here>"
},
"amount": "1000000ukopi",
"moniker": "Node39 Guide",
"identity": "",
"website": "https://services.node39.top",
"security": "[email protected]",
"details": "Node39.TOP Member",
"commission-rate": "0.1",
"commission-max-rate": "0.2",
"commission-max-change-rate": "0.01",
"min-self-delegation": "1"
}
- Create:
kopid tx staking create-validator $HOME/.elys/config/validator.json \
--from wallet \
--chain-id=luwak-1 \
--gas auto \
--gas-adjustment 1.2 \
--fees 100ukopi \
--node=https://kopi-rpc.node39.top:443 \
-y
Check sync | False -> done.
kopid status 2>&1 | jq .SyncInfo.catching_up
Delegate:
kopid tx staking delegate $(kopid keys show wallet --bech val -a) 1000000ukopi \
--from wallet \
--chain-id=luwak-1 \
--fees 100ukopi \
--gas auto \
--gas-adjustment 1.2 \
--node=https://kopi-rpc.node39.top:443 \
-y
Withdraw rewards and commission:
kopid tx distribution withdraw-rewards $(kopid keys show wallet --bech val -a) \
--commission \
--from wallet \
--chain-id=luwak-1 \
--gas auto \
--gas-adjustment 1.2 \
--fees 100ukopi \
--node=https://kopi-rpc.node39.top:443 \
-y
Unjail:
--from wallet \
--chain-id=luwak-1 \
--gas auto \
--gas-adjustment 1.2 \
--fees 100ukopi \
--node=https://kopi-rpc.node39.top:443 \
-y
Unbond:
kopid tx staking unbond $(kopid keys show wallet --bech val -a) 1000000ukopi \
--from wallet \
--chain-id=luwak-1 \
--gas auto \
--gas-adjustment 1.5 \
--fees 100ukopi \
--node=https://kopi-rpc.node39.top:443 \
-y
Vote:
yes/no/no_with_veto/abstain
kopid tx gov vote 1 yes \
--from wallet \
--chain-id luwak-1 \
--gas auto \
--gas-adjustment 1.2 \
--fees 100ukopi \
--node=https://kopi-rpc.node39.top:443 \
-y
System:
Reload Service:
sudo systemctl daemon-reload
Enable Service:
sudo systemctl enable kopid
Disable Service:
sudo systemctl disable kopid
Start Service:
sudo systemctl start kopid
Stop Service:
sudo systemctl stop kopid
Restart Service:
sudo systemctl restart kopid
Check Service Status:
sudo systemctl status kopid
Check Service Logs:
sudo journalctl -u kopid -fo cat