waspt

command
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2020 License: Apache-2.0, BSD-2-Clause Imports: 5 Imported by: 0

README

Waspt command

Before

  1. Run go install to compile and install the wasp command. Whenever you make a change in the wasp code you need to re-run this command.

  2. Same thing goes for the goshimmer command: run go install in the goshimmer repository.

Configuring a cluster

  1. Create the configuration directory for the cluster (e.g. my-cluster)
  2. Copy the cluster.json, wasp-config-template.json and goshimmer-config-template.json files from tools/cluster/example, and modify them with the new parameters.

Initialize the cluster

cd my-cluster
waspt init

This creates my-cluster/cluster-data directory, which contains each node's configuration and database.

Create the SC addresses

waspt gendksets

This creates an address and key shares for each node in the committee for each smart contract.

The newly created keys are exported to my-cluster/keys.json. Later, if the cluster-data directory (which contains the DBs) is deleted, the gendksets step can be skipped, since the nodes will automatically import keys from keys.json.

Start the cluster

waspt start

Alternatively, if there is already a Goshimmer network running:

GOSHIMMER_PROVIDED=1 waspt start

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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