Skip to content

Latest commit

 

History

History
 
 

nemeton

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

🔗 nemeton

Register in the Genesis

To register your validator node in the genesis.json you just need to provide a signed gentx in a ⚖️ Register Validator issue.

You don't have to fork the project and make the changes in the genesis yourself. Everything will be managed by the CI!

The gentx generation can be done as follow (this is an example script, adapt it to your needs) with the okp4d binary matching the network's version:

# Init node
okp4d --home mynode init your-moniker

# Create keys, be careful with the mnemonic 👀
okp4d --home mynode keys add your-key-name

# Set account necessary balance
okp4d --home mynode add-genesis-account your-key-name 1200000uknow

Then create your own genesis transaction (gentx). You will have to choose the following parameters for your validator: commission-rate, commission-max-rate, commission-max-change-rate, min-self-delegation (>=1), website (optional), details (optional), identity (keybase key hash, used to get validator logos in block explorers - optional), security-contact (email - optional).

# Create the gentx
okp4d --home mynode gentx your-key-name 1000000uknow \
  --node-id $(okp4d --home mynode tendermint show-node-id) \
  --chain-id okp4-nemeton \
  --commission-rate 0.05 \
  --commission-max-rate 0.2 \
  --commission-max-change-rate 0.01 \
  --min-self-delegation 1
  --website "https://foo.network" \
  --details "My validator" \
  --identity "6C36E7C076BFDCE4" \
  --security-contact "[email protected]"