Generating the configuration and network components in one operation

You can also carry out all the preceding operations using the trade.sh script. Just run the following command from within the network folder:

./trade.sh createneworg
The channel name is implicitly assumed to be tradechannel.

This command, in addition to creating cryptographic material and channel configuration, generates a docker-compose configuration for just for the new organization in add_org/docker-compose-exportingEntityOrg.yaml. It runs the following services:

  • One instance of a Fabric peer for the exporting entity's organization
  • One instance of a Fabric CA for the exporting entity's organization

The specification and the dependencies are like those we encountered ...

Get Blockchain Development with Hyperledger now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.