0.0.7 • Published 7 years ago

hfc-util v0.0.7

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
7 years ago

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