How should composer setup to be done for hyperledg

2019-03-05 17:55发布

问题:

for deploying hyperledger fabric network using composer do i need to deploy composer per orgs (here in this case i'm using 2 orgs on 2 physical machine) or i setup of composer for all orgs is required? anyone have idea on this?

回答1:

Hyperledger Composer can be used against any hyperledger fabric network topology you have defined, you just need to configure connection profiles and build business network cards with these profiles for the actions you want to perform. The best place to understand the connection profile requirements for a multi-organisation setup is in the multi-org tutorial on the hyperledger composer documentation. https://hyperledger.github.io/composer/tutorials/deploy-to-fabric-multi-org If you are planning on using the 0.17 (and higher versions) of composer then the newer documentation is here https://hyperledger.github.io/composer/next/tutorials/deploy-to-fabric-multi-org (which still has some wrinkles to be sorted out but describes the new connection profile format which simplifies the number of connection profiles previously required)