To register your validator node in the genesis.json
you just need to provide a signed gentx
with an initial delegation of 1000000ugovgen
.
# Init node
govgend init your-moniker --chain-id govgen-1
# Create keys, be careful with the mnemonic 👀
govgend keys add your-key-name
# Set account necessary balance
govgend add-genesis-account your-key-name 10000000ugovgen
NOTE: if you are submitting a gentx for a new account, (meaning you had to run the command above because the account did not have balance) be aware that you will be granted some funds (including the 1000000ugovgen required as min self-delegation), enough to pay for fees. The amount above is indicative of the actual amount of funds you will be granted, but the final amount might change.
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
all set to 0, 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).
The commission-rate
, commission-max-rate
, commission-max-change-rate
are recommended to be set to 0 since rewards and inflations are both set to 0.
# Create the gentx
govgend gentx your-key-name 1000000ugovgen \
--node-id $(govgend tendermint show-node-id) \
--chain-id govgen-1 \
--commission-rate 0.0 \
--commission-max-rate 0.0 \
--commission-max-change-rate 0.0 \
--min-self-delegation 1 \
--website "https://foo.network" \
--details "My validator" \
--identity "id-from-keybase" \
--security-contact "[email protected]"
- You can install the binary from github release page
https://github.com/atomone-hub/govgen/releases/tag/v1.0.1
- Build from the source
You need to have go installed
$ git clone https://github.com/atomone-hub/govgen.git
$ cd govgen
$ make install
Genesis file download link
The final genesis is avalable at this link. More info on the genesis can be found at https://github.com/atomone-hub/govgen-genesis
$ wget -O ~/.govgen/config/genesis.json https://atomone.fra1.digitaloceanspaces.com/govgen/govgen-1/genesis.json
$ md5sum ~/.govgen/config/genesis.json
8ff1071744159cb8efce69edb6ca7d46
minimum-gas-prices | 0.001ugovgen |
seeds | see ./seeds.txt |
persistent_peers | see ./persistent_peers.txt |
GovGen is a relatively simple and vanilla Cosmos SDK chain with minor modifications. The recommended minimum hardware requirements should be enough to comfortably be able to run a validator node.
- 4 Cores
- 8 GB RAM
- 512 GB disk space (could increase over time, will need to monitor disk usage)
You can get a list of public Explorers, RPCs, seed nodes, persistent_peers... on cosmos.directory/govgen