New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

quorum-wizard

Package Overview
Dependencies
Maintainers
4
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quorum-wizard

Tool for walking through the setup of networks.

latest
Source
npmnpm
Version
1.3.3
Version published
Weekly downloads
0
-100%
Maintainers
4
Weekly downloads
 
Created
Source

GoQuorum Wizard

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

GoQuorum Wizard is written in Javascript and designed to be run as a global NPM module from the command line. Make sure you have Node.js/NPM installed (version 10 or higher).

Using npx to run the wizard without the need to install:

npx quorum-wizard

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

Dependencies

Here are the dependencies (in addition to NodeJS 10+) that are required depending on the mode that you run the wizard in:

Bash:

  • Java (when running Tessera and/or Cakeshop)

Docker Compose:

  • Docker
  • docker-compose

Kubernetes:

  • Docker (for generating resources during network creation)
  • kubectl
  • minikube, Docker Desktop with Kubernetes enabled, or some other kubernetes context

Options

You can also provide these flags when running quorum-wizard:

FlagsEffect
-q, --quickstartCreate 3 node raft network with tessera and cakeshop (no user-input required)
generate --config <PATH>Generate a network from an existing config.json file
-r, --registry <REGISTRY>Use a custom docker registry (instead of registry.hub.docker.com)
-o, --outputPath <PATH>Set the output path. Wizard will place all generated files into this folder. Defaults to the location where Wizard is run
-v, --verboseTurn on additional logs for debugging
--versionShow version number
-h, --helpShow help

Interacting with the Network

To explore the features of GoQuorum and deploy a private contract, follow the instructions on Interacting with the Network.

Tools

The wizard provides the option to deploy some useful tools alongside your network. Learn more on the Tools page.

Developing

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 node build/index.js)

Contributing

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, please feel free to send an email to quorum@consensys.net.

Getting Help

Stuck at some step? Please join our Slack community for support.

Keywords

quorum

FAQs

Package last updated on 23 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts