Reference config for all Burnt networks.
Please refer to the official documentation for more details.
To contribute to the repo, please refer to the contributing guidelines.
We are automating our lead-up to mainnet genesis, out of an abundance of transparency and caution.
The commands below are all encapsulated in the Makefile:
make clean # wipe out the .docker/home/...
make validate # validate the genesis file
make hash # generate the genesis.json hashes
make verify # verify the genesis.json hashes
make account # add a genesis account only
make gentx # add a genesis account and generate a validator gentx
make collect # collect all pending gentxsThe zeroth block of a Cosmos chain is represented by its genesis.json file. It contains the entire initial state of the network.
To validate any genesis file in this repo, using the xiond binary:
- Configure the bind mounts in
docker-compose.yaml - Run the following command:
docker compose up validate-genesisAs an extra measure, we hash the genesis file for verification by the end user.
Don't Trust, Verify!
- We generate the hashes with:
docker compose up generate-hashes- You verify the hashes with:
docker compose up verify-hashesTo add your Account to the genesis block with a token amount:
- Configure the
add-genesis-accountbind mounts indocker-compose.yaml - Configure the
add-genesis-accountenvs indocker-compose.yaml - Run the following command:
docker compose up add-genesis-accountIf you are a validator, you will need to add your account to genesis by running gentx.
You're welcome to generate it with methods you are familiar with, but for convenience we have a tool to help you.
- Configure the
gentxbind mounts indocker-compose.yaml - Configure the
gentxenvs indocker-compose.yaml - Run the following command:
docker compose up gentxThe final step is to collect all gentx files and enshrine them to genesis.
- Configure the
collect-gentxsbind mounts indocker-compose.yaml - Run the following command:
docker compose up collect-gentxs