Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 1.43 KB

File metadata and controls

32 lines (27 loc) · 1.43 KB

Deploy

Follow these steps for the experiment:

1- Build the chaincode

  • Gradle Version: 8.6
  • JVM: 11.0.4
./gradlew installDist

2- Deploy the network

  • 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

3- Create Users

  • 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.

4- Submit Transactions

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.