Updated on April 20, 2021
GoQuorum Wizard is a command line tool that allows users to set up a development GoQuorum network on their local machine in less than 2 minutes.
Using GoQuorum Wizard
Using npx to run the wizard without the need to install:
You can also install the wizard globally with npm:
npm install -g quorum-wizard # Once the global module is installed, run: quorum-wizard
Note: Many installations of npm don’t have permission to install global modules and will throw an EACCES error. Here is the recommended solution from NPM
Here are the dependencies (in addition to Nodejs 10+) that are required depending on the mode that you run the wizard in:
- Java (when running Tessera or Cakeshop)
- Docker (for generating resources during network creation)
- minikube, Docker Desktop with Kubernetes enabled, or some other kubernetes context
You can also provide these flags when running
| ||Create 3 node Raft network with Tessera and Cakeshop (no user-input required)|
| ||Generate a network from an existing config.json file|
| ||Use a custom docker registry (instead of registry.hub.docker.com)|
| ||Set the output path. Wizard will place all generated files into this folder. Defaults to the location where Wizard is run|
| ||Turn on additional logs for debugging|
| ||Show version number|
| ||Show help|
Interacting with the Network
To explore the features of GoQuorum and deploy a private contract, follow the instructions on Interacting with the Network.
The wizard provides the option to deploy some useful tools alongside your network. Learn more on the Tools page.
Clone this repo to your local machine.
npm install to get all the dependencies.
npm run test:watch to automatically run tests on changes
npm run start to automatically build on changes to any files in the src directory
npm link to use your development build when you run the global npm command
quorum-wizard to run (alternatively, you can run
GoQuorum Wizard is built on open source and we invite you to contribute enhancements. Upon review, you will be required to complete a Contributor License Agreement (CLA) before we are able to merge. If you have any questions about the contribution process, you can get them answered by the GoQuorum Slack community.
Stuck at some step? Please join our GoQuorum Slack community for support.