genesis

command
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2023 License: BSD-3-Clause Imports: 16 Imported by: 0

README

Genesis generator

This tool is used to generate genesis JSON file for the network.

USAGE:

genesis_generator \
  PATH_TO_XLSX_FILE \
  PATH_TO_JSON_TEMPLATE \
  NETWORK_NAME \
  OUTPUT_PATH

where

  • NETWORK_NAME has to be one of: kopernikus, columbus or camino.
  • OUTPUT_PATH should be a path to the directory where the genesis file will be saved.

Tool produces a file genesis_<NETWORK_NAME>.json in the OUTPUT_PATH directory.
⚠ Tool was not tested with Windows paths.

Tool assumes multisignature definitions and allocations are provided in the Excel file. Any other information that shall be contained in the resulting genesis file must be provided in the JSON template.

ARTIFACTS:

Inside this folder the following genesis files are stored in subfolders. There are:

  • templates - with template file for the generator
  • generated - generated files for the networks.

MORE INFO:

Just read the code. It's not that long.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL