Simple Steps To Run Hyperledger Fabric Composer Network With Multiple Organization

On , by

I’ve created a sample project with the help of composer’s multi organization tutorial (https://hyperledger.github.io/composer/tutorials/deploy-to-fabric-multi-org.html) And here I’ll be talking about how to use my scripts and the things to be remembered while setting up the composer profiles and network cards.

Setting up the project#setting-up-the-project

As the first step, clone our sample Repo from Github.

git clone https://github.com/skcript/hyperledger-fabric-composer-multiorg-sample

This has everything already setup and you just need to run the below mentioned scripts for getting it up and running.

Script to start the network#script-to-start-the-network

Here is the collection scripts that are extracted from the composer’s official documentation for running multi organization fabric.

./destroy.sh  # This is to remove the docker images.
./stop.sh
./byfn.sh -m generate
./byfn.sh -m up -s couchdb -a
./init.sh

Points To Remember#points-to-remember

  1. Make sure that you’ve generated your own certificates with ./byfn.sh -m generate
  2. Replace the certificates path in all the composer card create steps of init.sh
  3. Later if you want to create customized domain and organization names edit the docker compose files of byfn

In my future articles, I’ll write about how to run it in multiple host machines with corresponding scripts.

Share this article on Twitter or LinkedIn
Previous Blog Post: Realtime Object and Face Detection in Android using Tensorflow Object Detection API
Subscribe to Sudo vs Root

Our newsletter rolls out every month. No fluff. Pure content.

Comments and Discussions
Skcript https://www.skcript.com/svr/simple-steps-to-run-hyperledger-fabric-composer-network-with-multiple-organization/ https://www.skcript.com/svrmedia/heroes/f/run-hyperledger-fabric-composer-network-with-multiple-organization.png