AthaSSiN / fabric-multi-org-test-network

A Hyperledger Fabric test network with support for 4 organizations. https://www.hyperledger.org/use/fabric

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Running the test network

This modified test-network only supports working with exactly 4 organizations.

How to run:

  1. Copy the test-network to your fabric-samples folder, and cd to fabric-samples
cd test-network
./network.sh up createChannel -s couchdb
cd addOrg3
./addOrg3.sh up -s couchdb
cd ../addOrg4
./addOrg4.sh up -s couchdb
cd ..
  1. After this use the ordinary chaincode deployment command, it has been automated for 4 organizations.
./network.sh deployCC -ccn private -ccp /d/Projects/BlockTorrent/master/hlf/blockchain/contracts/secret-sharing/chaincode-go -ccl go -ccep "OR('Org1MSP.peer')" -cccg /d/Projects/BlockTorrent/master/hlf/blockchain/contracts/secret-sharing/chaincode-go/collections_config.json

About

A Hyperledger Fabric test network with support for 4 organizations. https://www.hyperledger.org/use/fabric

License:Apache License 2.0


Languages

Language:Shell 100.0%