Follow these steps for the experiment:
- Gradle Version: 8.6
- JVM: 11.0.4
./gradlew installDist
- Clone Hyperledger Fabric Repository. (Realese 2.2)
- Deploy the test network with Certificate Authorities (CAs). You can either set it up manually as described in the document or use my automated script that performs the same steps. Specify the chaincode and collection configuration (for PDC) paths in the script, and execute it within the test-network directory of Hyperledger Fabric.
bash my-network.sh
- Create Users (MNO Admin, MVNO Admin and UEs) using the script:
./create-user.sh USER_NAME USER_SECRET AFFILIATION
Set the USER_NAME and USER_SECRET to your own values, and assign the AFFILIATION to either Org1 or Org2.
Submit transactions individually as outlined in the Transactions Doc Utilize the JSON templates provided in the transactions directory and adjust the values according to your testing scenario.
./submit_transaction.sh USER_NAME TRANSACTION_FILE
Set USER_NAME to user who wants to submit and TRANSACTION_FILE to the json file path.