GithubHelp home page GithubHelp logo

fabriclabs / hub.fabric.pub Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 2.0 6.66 MB

Runs a simple Fabric peer with listening enabled by default.

Home Page: https://fabric.pub

License: MIT License

JavaScript 99.75% HTML 0.10% Shell 0.14%
fabric bitcoin p2p blockchain sidechain

hub.fabric.pub's Introduction

hub.fabric.pub

Runs a simple Fabric peer with listening enabled by default.

Quick Start

  1. npm install
  2. npm start

Explanation

hub.fabric.pub provides a simple script for running a Fabric node, with an attached "Edge Node" served to the legacy web (on port 8080 by default). Run the script directly:

node scripts/hub.js

Configuration

You can modify settings/local.js to configure your instance; just restart the script to load the new configuration. Make sure to wait patiently for any existing process to close cleanly!

Environment Variables

Use environment variable FABRIC_SEED to provide a 24-word mnemonic for persistent identity and fund recovery:

FABRIC_SEED="your mnemonic here" npm start

You can also alter which port the node will listen for P2P connections on using the FABRIC_PORT environment variable:

FABRIC_PORT=1337 npm start

Acknowledgements

hub.fabric.pub relies heavily on several supporting libraries, including Babel, JSDoc and the very wonderful Semantic UI, and many other contributors to the Node.js ecosystem (especially @indutnry, @chjj, and @chrisinajar).

hub.fabric.pub's People

Contributors

martindale avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

martindale 22388o

hub.fabric.pub's Issues

Build Determinism

Some packages are still updating package-lock.json outside of security review.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.