Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 1.13 KB

README.md

File metadata and controls

25 lines (20 loc) · 1.13 KB

This is part of a course on Hyperledger Fabric

NOTE: December 21, 2018

0.20.3 introduced changes that led to issues for some students

All issues stand resolved at this time.

Code has been tested with 0.20.5

Please update your composer components to v0.20.5

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 .\[email protected] -c PeerAdmin@hlfv1 -A admin -S adminpw 2. > composer network start -a .\[email protected] -c PeerAdmin@hlfv1 -A admin -S adminpw 3. > composer card delete admin@airlinev7 4. > composer card import -f ./[email protected]
  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