Skip to content

Latest commit

 

History

History
98 lines (67 loc) · 3.24 KB

gentx.md

File metadata and controls

98 lines (67 loc) · 3.24 KB

Submitting your GenTx for the Rebus v1 Mainnet

Thank you for becoming a genesis validator on Rebus! This guide will provide instructions on setting up a node, submitting a gentx, and other tasks needed to participate in the launch of the Rebus v1 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 rebusd init command.

Setup

Software:

To verify that Go is installed:

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

Instruction (Until July 27, 2022 24:00 EST)

The following instructions are written targeting an Ubuntu 18.04 system. If you are running a different OS/architecture, make sure to apply the necessary changes.

  1. Install rebusd

    git clone https://github.com/rebuschain/rebus.core.git 
    cd rebus.core && git checkout master
    make install

    Make sure to checkout to master or tags/v0.1.0

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

    rebusd version --long
    
    name: rebus
    server_name: rebusd
    version: master.6f73acac323e89b6b1f7b38aa1ee884b39234e75
    commit: 6f73acac323e89b6b1f7b38aa1ee884b39234e75
    build_tags: netgo,ledger
    go: go version go1.18.3 linux/amd64
  2. Initialize the rebusd directories and create the local file with the correct chain-id

    rebusd init <moniker> --chain-id=reb_1111-1
  3. Create a local key pair in the keybase

    This will use the os default keychain

    rebusd keys add <your key name> --coin-type 118 --algo secp256k1

    Make sure to keep the mnemonic seed that is needed to receive rewards at the time of the mainnet launch.

    Import key from ledger Nano s/x

    rebusd keys add <your key name> –-ledger --coin-type 118 --algo secp256k1
  4. Add the account to your local genesis file with a given amount and key you just created.

    rebusd add-genesis-account $(rebusd keys show <your key name> -a) 100rebus

    Make sure to use the rebus denom.

  5. Create the gentx

     rebusd gentx <your key name> 100000000000000000000arebus \
     --chain-id=reb_1111-1 \
     --moniker=<your moniker name> \
     --details="your details" \
     --commission-rate=0.05 \
     --commission-max-rate=0.2 \
     --commission-max-change-rate=0.01 \
     --pubkey $(rebusd tendermint show-validator) \
     --identity="<Keybase.io GPG Public Key>"

    Make sure to use arebus denom.

  6. Create Pull Request to the mainnet repository with the file reb_1111-1/gentxs/<your validator moniker>.json. 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.