Becoming A Validator
In order to become an active validator, you must have more stake than the bottom validator. You may still execute the following steps, but you will not be active and therefore won't receive staking rewards.
In order to become a validator, you node must be fully synced with the network. You can check this by doing:
secretd status | jq .SyncInfo.catching_up
This is the
secretwallet which you used **** to create your full node, and will use to delegate your funds to you own validator. You must delegate at least 1 SCRT (1000000uscrt) from this wallet to your validator.
secretd q bank balances $(secretd keys show -a <key-alias>)
If you get the following message, it means that you have no tokens, or your node is not yet synced:
ERROR: unknown address: account secret1xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx does not exist
WARNING: if you don't backup your key and your node goes down, you will lose your validator and have to start a new one.
Remember 1 SCRT = 1,000,000 uSCRT, and so the command below stakes 100 SCRT
secretd tx staking create-validator \
--pubkey=$(secretd tendermint show-validator) \
--details="To infinity and beyond!" \
You should see your moniker listed.
secretd q staking validators | grep moniker
(remember 1 SCRT = 1,000,000 uSCRT)
In order to stake more tokens beyond those in the initial transaction, run:
secretd tx staking delegate $(secretcli keys show <key-alias> --bech=val -a) <amount>uscrt --from <key-alias>
secretd tx staking edit-validator \
--moniker "<new-moniker>" \
--website "https://scrt.network" \
--identity 6A0D65E29A4CBC8E \
--details "To infinity and beyond!" \
--chain-id <chain_id> \
--from <key_name> \
secretd q distribution rewards $(secretcli keys show -a <key-alias>)
secretd q distribution commission $(secretcli keys show -a <key-alias> --bech=val)
secretd tx distribution withdraw-rewards $(secretcli keys show --bech=val -a <key-alias>) --from <key-alias>
secretd tx distribution withdraw-rewards $(secretcli keys show --bech=val -a <key-alias>) --from <key-alias> --commission
Currently deleting a validator is not possible. If you redelegate or unbond your self-delegations then your validator will become offline and all your delegators will start to unbond.
You are currently unable to modify the
Modifying the commision-rate can be done using this:
secretd tx staking edit-validator --commission-rate="0.05" --from <key-alias>
To unjail your jailed validator
secretd tx slashing unjail --from <key-alias>
To retrieve a validator's signing info:
secretd q slashing signing-info <validator-conspub-key>
You can get the current slashing parameters via:
secretd q slashing params