package
0.1.0
Repository: https://github.com/gridironchain/gridnode.git
Documentation: pkg.go.dev

# README

Gridgen

Initialize a new network

To initialize a new network, run:

gridgen network create <chain-id> <node-count> <output-dir> <seed-ip-address>

Where:

ParameterDescription
chain-idThe Chain ID.
node-countThe number of nodes (validators) to generate config for.
output-dirThe root directory of where all the config files should be written to.
seed-ip-addressThe IP (v4) address of the seed node.

This will then output all the necessary keys and genesis files that are required to boot a new network.

Create a new node

In addition to creating a new network, you can also create a node (listener/witness) to connect to an existing network, by running:

gridgen node create <chain-id> <peer-address> <genesis-url>

Where:

ParameterDescription
chain-idThe Chain ID.
peer-addressThe peer address of the existing network node/validator to connect to.
genesis-urlThe URL of the genesis file to use.

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author

# Structs

No description provided by the author