To keep things simple, we'll be using the first-network Hyperledger Fabric sample for our project:
- Navigate to the first-network directory under the fabric-samples directory. The default location should be as follows:
/fabric-samples/first-network/
- Start the network by running the following command in the first-network directory. It executes the byfn.sh script that brings the Hyperledger network online with two organizations (org1 and org2) and two nodes for each organization (peer0 and peer1). It also starts an ordering service:
./byfn.sh up -a -n -s couchdb
In total, we will have five nodes:
- peer0 - org1
- peer1 - org1
- peer0 - org2
- peer1 - org2
- The orderer node
The nodes are participants of ...