The project is part of LFX mentee 2022 (summer) inside the Hyperledger foundation.
Hyperledger mentership project Wiki link: https://wiki.hyperledger.org/display/INTERN/SLA+Self-Assessment+with+Hyperledger+Fabric
The Project realized with the help of following steps and implimentation for the Service Level Agreement (SLA) test case:
- Hyperledger Fabric network implimentation.
- Hypereldger Blockchain explorer https://github.com/hyperledger-labs/blockchain-explorer
- Hyperledgre Fabric Private chaincode implimenation inconjuction with fabric smart client.
SLA test case implimentation video-demo is attached and can be found inside the following link: https://github.com/singhravipratap/SLA/blob/a2a62d57f7f9d84f925636677a906323ec61bfda/video/link
In SLA test case tutorial, two organziation in the fabic network (fabric smart client), participate with Fabric private chaincode (FPC) implimentation.
The user role can be diffent either a developer or/and administrator in both two organziation. To impliment the SLA test case, following task need to be performed following below mentioned steps:
- Set up machine and download samples from repository.
- Creation of the network.
- Exploring the SLA smartcontract.
- Deploy the smartcontract.
- Using client terminal to interact with the network and perform transaction.
Note: This tutorial has been tested on Ubuntu 20.04 LTS.
You are expected to download the sample Hyperledger Fabric from the Github and install prerequisite files as instructed in the following pages:
- Hyperledger Fabric: https://hyperledger-fabric.readthedocs.io/en/release-2.3/install.html
- Hyperledger Fabric Private chaincode: https://github.com/hyperledger/fabric-private-chaincode/tree/go-support-preview
https://github.com/hyperledger/fabric-private-chaincode/tree/go-support-preview
https://github.com/hyperledger/fabric-private-chaincode/tree/go-support-preview/samples/demos/hlgf22 https://github.com/hyperledger-labs/fabric-smart-client
Use specific version of tool as mentioned in the documentaion (for easyness).
Ensure that you have correctly installed and setup the $GOPATH and $GOROOT.
Please go through the FPC discord channel, https://discord.com/invite/hyperledger. A few problems has been identified and discussed over there.
SLA-Self-Assessment with Hyperledger Fabric Project source code is released under the Apache 2.0 license. The README.md, CONTRIBUTING.md files, and files in the "images", "snapshots" folders are licensed. You may obtain a copy of the license, https://www.apache.org/licenses/LICENSE-2.0