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.
- Coming soon!
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 gentxs
The 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-genesis
As 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-hashes
To add your Account to the genesis block with a token amount:
- Configure the
add-genesis-account
bind mounts indocker-compose.yaml
- Configure the
add-genesis-account
envs indocker-compose.yaml
- Run the following command:
docker compose up add-genesis-account
If 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
gentx
bind mounts indocker-compose.yaml
- Configure the
gentx
envs indocker-compose.yaml
- Run the following command:
docker compose up gentx
The final step is to collect all gentx
files and enshrine them to genesis.
- Configure the
collect-gentxs
bind mounts indocker-compose.yaml
- Run the following command:
docker compose up collect-gentxs