For reference/Prereqs please check the the readme file in: https://github.com/hyperledger/fabric-samples/blob/main/test-network-nano-bash/README.md
Note! If you have not run Fabric before, I recommend starting to run Fabric using the Sample network. There are many guides I choose RunningFabricAndSamplesOnGitpod By Deepto.
For the experiment, we need two projects. One for Fabric source code and the second one for the test network.
- Please verify Go Environment by run
go env
Both repositories must be in the same directory level to avoid extra modification
mkdir -p ~/go/src/github.com/BDLS-bft/- Clone Fabric repository:
git clone https://github.com/BDLS-bft/fabric.git
cd fabric
git checkout BDLS-RAFT-TPS-readyc
- Clone Test fabric-samples repository:
git clone https://github.com/BDLS-bft/fabric-samples.git
Navigate to the fabric location the we cloned in /home/ahmed/go/src/github.com/BDLS-bft/fabric
cd fabric
rm -f build/bin/orderer & make orderer
Verify the new Orderer binary
- NOTE! Make sure you build other binary as listed below if you have a new environment
step out the Fabric directory cd ... navigate into fabric-samples cd fabric-samples
pwd
~/go/src/github.com/BDLS-bft/fabric-samples/
We are working on the /test-network-nano-bash test network project.
- Generate the network artifact
./generate_artifacts.sh BFT
- Run the Orderer nodes.
open four terminal windows in the directory. rune:
./orderer1.sh BFTin terminal one./orderer2.sh BFTin terminal two./orderer3.sh BFTin terminal three./orderer4.sh BFTin terminal four
The terminals output should look like this:

Keep the four terminals running, we will continue work in other terminal.
- Join the network Open a new terminal window and type this command to join the Orderers nodes.
./join_orderers.sh BFT
The benchmark test will trigger automatically, navigate to the Orderers four windows
To change the Configuring the fabric sample network to run the network, in the configtx.yaml located in the bft-config, as fabric-samples/test-network-nano-bash/bft-config
test-network-nano-bash/bft-config/configtx.yaml









