hfc-util

0.0.7 • Public • Published

Hyperledger Fabric Util

This module provides wrapper functions for interacting with hyperledger fabric using hfc node module.

Usage

  1. Install node module
    npm install hfc-util
    
  2. Import the module
    var hfcUtil = require('hfc-util');
    
  3. Invoke methods exposed by the module
    hfcUtil.setupChain('mychain', <membership addr>, <comma separated peer addr>, [<key value store folder location>], [<vault url>], [<vault token>]);
    hfcUtil.enrollRegistrar('registrar','registrarPassword');
    

Package Sidebar

Install

npm i hfc-util

Weekly Downloads

9

Version

0.0.7

License

Apache-2.0

Last publish

Collaborators

  • predix-guardians