Skip to content

Latest commit

 

History

History
17 lines (16 loc) · 584 Bytes

README.md

File metadata and controls

17 lines (16 loc) · 584 Bytes

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');