Skip to content

11nonali23/tracenet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tracenet

An Hyperledger Fabric network. It has 3 orgs and 1 orderer. For the certificates generation I used cryptogen, since it's a testing network. Each peer has a couchdb instance.

Prerequisites

Running and working on the netowrk

Script permissions

sudo chmod 755 main.sh
sudo chmod 755 settings.sh
sudo chmod -R 755 scripts/

Run the network

./main.sh network restart

This command will:

  • down the network and clean
  • initialization with cryptogen
  • start the network with docker compose
  • create a channel named "mychannel"
  • join the channel by the two orgs (Org1, Org2)
  • set the anchor peer
  • deploy the chaincode

Testing the network

The framework used for the tests is Caliper. Test are run after initializing the ledger with 2000 transactions. Then every workload has 2000 tx with 200tps.

./main.sh caliper init
./main.sh caliper launch campaign
./main.sh caliper launch shareData
./main.sh caliper launch storeAnonymizedKG
./main.sh caliper launch storeProof
./main.sh caliper launch shareAnonyKG

About

Hyperledger Fabric network for thesis project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published