// Create Validator
Create file validator.json in $HOME/.kopid/config
kopid tendermint show-validator
# EX: pubkey: '{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"A7JSLhhRRXl3/Cfyi1kDQXBsp8yA5Z2BOIPQQ6JzXy7K"}' type: local Change info
{
"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"
}
#and
kopid tx staking create-validator $HOME/.kopid/config/validator.json \
--from=wallet \
--chain-id=luwak-1 \
--fees 100ukopi \
--node=https://kopi-rpc.node39.top:443 \
-y
// Delegate you Validator (Change token 1XKP = 1000000ukopi)
kopid tx staking delegate $(kopid keys show wallet --bech val -a) 1000000ukopi \
--from=wallet \
--chain-id=luwak-1 \
--fees 100ukopi \
--node=https://kopi-rpc.node39.top:443 \
-y
// Withdraw rewards and commission from your validator
kopid tx distribution withdraw-rewards $(kopid keys show wallet --bech val -a) \
--commission \
--from=wallet \
--chain-id=luwak-1 \
--fees 100ukopi \
--node=https://kopi-rpc.node39.top:443 \
-y
//Unjail
kopid tx slashing unjail \
--from=wallet \
--chain-id=luwak-1 \
--fees 100ukopi \
--node=https://kopi-rpc.node39.top:443 \
-y