goal network

goal network

Create and manage private, multi-node, locally-hosted networks. See the tutorial on creating a private network.

Synopsis

Collection of commands to support the creation and management of 'private networks'. These are fully-formed Algorand networks with private, custom Genesis ledgers running the current build of Algorand software. Rather than creating a node instance based on the released genesis.json, these networks have their own and need to be manually connected.

The basic idea is that we create one or more data directories and wallets to form this network, specify which node owns which wallets, and can start/stop the network as a unit. Each node is just like any other node running on TestNet or DevNet.

goal network [flags]

Options

  -h, --help             help for network
  -r, --rootdir string   Root directory for the private network directories

Options inherited from parent commands

  -d, --datadir string   Data directory for the node

Commands

goal network create

Create a private named network from a template

Synopsis

Creates a collection of folders under the specified root directory that make up the entire
private network (simplifying cleanup).

goal network create [flags]

Options

  -h, --help              help for create
  -n, --network string    Specify the name to use for the private network (required)
  -k, --noimportkeys      Do not import root keys when creating the network (by default will import)
  -t, --template string   Specify the path to the template file for the network (required)

Options inherited from parent commands

  -d, --datadir string   Data directory for the node
  -r, --rootdir string   Root directory for the private network directories (required)

goal network delete

Stops and Deletes a deployed private network

Synopsis

Stops and Deletes a deployed private network. NOTE: This does not prompt first - so be careful before you do this!

goal network delete [flags]

Options

  -h, --help   help for delete

Options inherited from parent commands

  -d, --datadir string   Data directory for the node
  -r, --rootdir string   Root directory for the private network directories

goal network restart

Restart a deployed private network

Synopsis

Restart a deployed private network

goal network restart [flags]

Options

  -h, --help   help for restart

Options inherited from parent commands

  -d, --datadir string   Data directory for the node
  -r, --rootdir string   Root directory for the private network directories

goal network start

Start a deployed private network

Synopsis

Start a deployed private network

goal network start [flags]

Options

  -h, --help          help for start
  -n, --node string   Specify the name of a specific node to start

Options inherited from parent commands

  -d, --datadir string   Data directory for the node
  -r, --rootdir string   Root directory for the private network directories

goal network status

Prints status for all nodes in a deployed private network

Synopsis

Prints status for all nodes in a deployed private network

goal network status [flags]

Options

  -h, --help   help for status

Options inherited from parent commands

  -d, --datadir string   Data directory for the node
  -r, --rootdir string   Root directory for the private network directories

goal network stop

Stop a deployed private network

Synopsis

Stop a deployed private network

goal network stop [flags]

Options

  -h, --help   help for stop

Options inherited from parent commands

  -d, --datadir string   Data directory for the node
  -r, --rootdir string   Root directory for the private network directories