This document contains instructions for routine operations that may be required while operating a validator.
- Increase your stake
- Withdraw your validator rewards
- Unjail your validator
- Change validator identity (profile pic)
To increase your ugraviton stake, if you have extra tokens lying around. The first command will show an output like this, you want to take the key starting with gravityvaloper1 in the 'address' field.
- name: jkilpatr
type: local
address: gravityvaloper1jpz0ahls2chajf78nkqczdwwuqcu97w6z3plt4
pubkey: gravityvaloperpub1addwnpepqvl0qgfqewmuqvyaskmr4pwkr5fwzuk8286umwrfnxqkgqceg6ksu359m5q
mnemonic: ""
threshold: 0
pubkeys: []
gravity keys show myvalidatorkeyname --bech val
gravity tx staking delegate <the address from the above command> 99000000ugraviton --from myvalidatorkeyname --chain-id gravity-bridge-3 --fees 1ugraviton --broadcast-mode block
In order to withdraw your validation rewards run the following command. This will withdraw all the rewards
from your validator into your validator key. In order to modify the destination you can run set-withdraw-addr
In order to apply your rewards to stake you must run this command followed by the staking delegate
command
gravity tx distribution withdraw-all-rewards --from <validator-key-name> --chain-id gravity-bridge-3
This command will unjail you, completing the process of getting the chain back online!
replace 'myvalidatorkeyname' with your validator keys name, if you don't remember run gravity keys list
gravity tx slashing unjail --from myvalidatorkeyname --chain-id=gravity-bridge-3
Want your validator to have that sweet, sweet image? The following will use your profile image from keybase.io, I believe there is another data source as well, but this example is for keybase.
gravity tx staking edit-validator --moniker <moniker> --chain-id=gravity-bridge-3 --fees 1ugraviton --identity "<your keybase pgp key>" --from <validator-name>