Validator Setup

Validator setup for Union Protocol

Create keys and validator

🙋‍♀️

Make sure to change values for moniker, identity, details website to your own values.

#Create the wallet ( replace #keyname with whatever name you want)
uniond keys add #keyname

Now create validator.json and place it somewhere you will know. Run this command and insert pubkey in json file.

uniond tendermint show-validator
#Now create the validator.json
amount=1000000umuno  
pubkey=fillInFromTheCommandUp \
moniker=validatorName \
commission-rate=”0.05″ \
commission-max-rate=”0.20″ \
commission-max-change-rate=”0.01″ \
min-self-delegation=”1″ \
identity=keybaseIdNumber \
details=“write info about your validators for example what type of service you ofer etc.” \
website=“https://cogwheel.zone for example” \

Create proof of possession

export PRIV_KEY=$(jq -r '.priv_key.value' ~/.union/config/priv_validator_key.json)
export POSSESSION_PROOF=$(uniond prove-possession "$PRIV_KEY")
uniond tx staking create-validator /path/to/validator.json $POSSESSION_PROOF --chain-id union-testnet-8 --gas-adjustment 1.5 --gas auto --gas-prices 0umuno -y