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
- Install > npm install
- Launch your local fabric runtime
- 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]
- Samples are using airlinev7. If you would like to use some other you need to change the code
- On terminal prompt > node code-sample-file.js