dovchar / HLF-Fabric-API

Part of the course on Hyperledger Fabric http://ACloudFan.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is part of a course on Hyperledger Fabric

How to use this? Most of the files may be executed against a local fabric insallation. Some samples are coded to work with embedded runtime. Lectures in the course refer to the samples and describe how to launch the samples

  1. Install > npm install
  2. Launch your local fabric runtime
  3. Deploy the App against which you would like to test the API (airlinev7 by default) 1. > composer network start -a .\airlinev7@0.0.1.bna -c PeerAdmin@hlfv1 -A admin -S adminpw 2. > composer network start -a .\airlinev7@0.0.1.bna -c PeerAdmin@hlfv1 -A admin -S adminpw 3. > composer card delete admin@airlinev7 4. > composer card import -f ./admin@airlinev7.card
  4. Samples are using airlinev7. If you would like to use some other you need to change the code
  5. On terminal prompt > node code-sample-file.js

About

Part of the course on Hyperledger Fabric http://ACloudFan.com


Languages

Language:JavaScript 100.0%