Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.26 KB

File metadata and controls

39 lines (25 loc) · 1.26 KB

These are set of chaincodes which are used as a reference for One-stop-shop Hyperledger Fabric performance analysis with Hyperledger Caliper (2023) (Hyperledger Mentorship project)

Starting the network

1. Start the test network

// For asset-transfer-sbe chaincode:
./network.sh up createChannel

// For other chaincodes:
./network.sh up createChannel -c mychannel -ca

2. Deploy the chaincode

Commands for deploying each chaincode can be found here:

  1. asset-transfer-private-data

  2. asset-transfer-basic

  3. asset-transfer-sbe

3. Submit the transactions

For asset-transfer-sbe chaincode, you can submit the transactions detailed here

For other chaincodes, go to the sample application of choice then run the main file

For example:

cd asset-transfer-private-data
cd application-javascript

// install dependancies
npm install
node app.js