This project contains the web app that we will be spinnnig and connecting to the Hyperledger Fabric network deployed on Chainstack.
This is a two-part project:
- Includes a sample JavaScript chaincode with 3 transactions:
- optIn
- optOut
- querySSN
- Includes a bash script that automates peer chaincode lifecycle for installing and upgrading chaincodes.
- Includes an API endpoint to bridge Node.js and Hyperledger Fabric v2 network using the bash script.
- Includes a sample implementation of Hyperledger Fabric SDK v2.1 for creating gateway and wallets.
By default, this application is configured to work out of the box with a Hyperledger Fabric v2 network deployed on Chainstack, but by doing minor changes you can easily switch to a network deployed on your local machine.
- Automatically retrieves and displays the installed packages and chaincode from the backend.
- Automatically generates forms based on installed chaincode.