Skip to content

Latest commit

 

History

History
84 lines (58 loc) · 2.98 KB

gentx.md

File metadata and controls

84 lines (58 loc) · 2.98 KB

Submitting your GenTx for the Evmos Mainnet

Thank you for becoming a genesis validator on Evmos! This guide will provide instructions on setting up a node, submitting a gentx, and other tasks needed to participate in the launch of the Evmos Mainnet.

A gentx does three things:

  • Registers the validator account you created as a validator operator account (i.e. the account that controls the validator).
  • Self-delegates the provided amount of staking tokens.
  • Links the operator account with a Tendermint node pubkey that will be used for signing blocks. If no --pubkey flag is provided, it defaults to the local node pubkey created via the evmosd init command.

Setup

Software:

To verify that Go is installed:

go version
# Should return go version go1.17 linux/amd64

Instructions (Launch: 2022-03-02T18:00:00Z)

These instructions are written targeting an Ubuntu 20.04 system. Relevant changes to commands should be made depending on the OS/architecture you are running on.

  1. Install evmosd

    git clone https://github.com/tharsis/evmos
    cd evmos && git checkout tags/v1.1.0
    make install

    Make sure to checkout to the v1.1.0 tag.

    Verify that everything is OK. If you get something like the following, you've successfully installed Evmos on your system.

    evmosd version --long
    
    name: evmos
    server_name: evmosd
    version: 1.1.0
    commit: 0786f86c367f4065cb6eb907b81128beafb93ea5
    build_tags: netgo,ledger
    go: go version go1.17 darwin/amd64
  2. Initialize the evmosd directories and create the local file with the correct chain-id

    evmosd init <moniker> --chain-id=evmos_9001-1
  3. You should have already created a key pair

  4. Add the account to your local genesis file with a given amount and key you just created.

    evmosd add-genesis-account $(evmosd keys show <your key name> -a) <correct balance in genesis file>aevmos

    Make sure to use aevmos denom, not evmos.

  5. Create the gentx

    evmosd gentx <your key name> <correct balance in genesis_validators.csv>aevmos \
      --chain-id=evmos_9001-1 \
      --moniker=<moniker> \
      --details="My moniker description" \
      --commission-rate=0.05 \
      --commission-max-rate=0.2 \
      --commission-max-change-rate=0.01 \
      --pubkey $(evmosd tendermint show-validator) \
      --identity="<Keybase.io GPG Public Key>"

    Any gentxs with a commission rate set below 5% will be removed from the set.

  6. Create Pull Request to this repository (evmychan/something-special) with the file gentxs/<your validator moniker>.json. In order to be a valid submission, you need the .json file extension and no whitespace or special characters in your filename. Your PR should be one addition.