Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Genesis / Network start flow #711

Closed
Tracked by #2004
Fraccaman opened this issue Oct 28, 2022 · 0 comments · Fixed by #2088
Closed
Tracked by #2004

Genesis / Network start flow #711

Fraccaman opened this issue Oct 28, 2022 · 0 comments · Fixed by #2088
Assignees

Comments

@Fraccaman
Copy link
Member

We need to rework how genesis file are generated and shared. We also need to restructure how network are join.

The new flow should look like this:

  • new repo namada-networks
  • someone (one of us) uploads a json file (or some other file) with balances and associated addresses (ie genesis allocations)
  • someone (one of us) uploads a json file with initial parameters
  • a lot of people generate their validator.toml files based on whether they have balances in the genesis allocations from step 1
  • those people upload their validator.toml file to GH as PRs
  • we finalize the genesis file by combining all the individual validator.toml files and the initial balances (from step 1, 2 and 4) into a single genesis.json file
  • optionally everyone individually can clone the repo and runs generate genesis which takes all the files from step 1, 2 and 4 and puts them into one genesis.json
    • and maybe it also outputs a config.toml file with ip addresses to connect too
    • it's important that all individual validator.toml files are in the repo as plain-text files
  • everyone starts their node

A detail explanation can be found here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant