npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

quorum-wizard

v1.3.3

Published

Tool for walking through the setup of networks.

Downloads

69

Readme

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:

| Flags | Effect | | - | - | | -q, --quickstart | Create 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, --verbose | Turn on additional logs for debugging | | --version | Show version number | | -h, --help | 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.

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 [email protected].

Getting Help

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