GithubHelp home page GithubHelp logo

froch / burnt-networks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from burnt-labs/burnt-networks

0.0 0.0 0.0 363 KB

Reference config for all Burnt networks

License: MIT License

Shell 91.76% Makefile 8.24%

burnt-networks's Introduction

Burnt banner

burnt-networks

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.

Mainnet

Testnets

Genesis Tooling

We are automating our lead-up to mainnet genesis, out of an abundance of transparency and caution.


Shorthand Usage

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

Validating the genesis file

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:

  1. Configure the bind mounts in docker-compose.yaml
  2. Run the following command:
docker compose up validate-genesis

Hashing and Verification of the genesis file

As an extra measure, we hash the genesis file for verification by the end user.

Don't Trust, Verify!

  1. We generate the hashes with:
docker compose up generate-hashes
  1. You verify the hashes with:
docker compose up verify-hashes

Adding a Genesis Account

To add your Account to the genesis block with a token amount:

  1. Configure the add-genesis-account bind mounts in docker-compose.yaml
  2. Configure the add-genesis-account envs in docker-compose.yaml
  3. Run the following command:
docker compose up add-genesis-account

Adding a Validator 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.

  1. Configure the gentx bind mounts in docker-compose.yaml
  2. Configure the gentx envs in docker-compose.yaml
  3. Run the following command:
docker compose up gentx

Collecting all gentx files and adding them to genesis

The final step is to collect all gentx files and enshrine them to genesis.

  1. Configure the collect-gentxs bind mounts in docker-compose.yaml
  2. Run the following command:
docker compose up collect-gentxs

burnt-networks's People

Contributors

froch avatar edjroz avatar justinbarry avatar ash-burnt avatar peartes avatar reversesigh avatar andy-infstones avatar liray-unendlich avatar paddyson79 avatar nullmames avatar jonathanpberger avatar zdeadex avatar vegebun-csj avatar ubikcapital avatar bert2002 avatar polkachuintern avatar kwunyeung avatar imperator-co avatar hqueue avatar agouin avatar achilleas-kal avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.