hfc-util
v0.0.7
Published
Wrapper functions for interacting with hyperledger fabric using hfc
Downloads
2
Maintainers
Readme
Hyperledger Fabric Util
This module provides wrapper functions for interacting with hyperledger fabric using hfc node module.
Usage
- Install node module
npm install hfc-util
- Import the module
var hfcUtil = require('hfc-util');
- 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');