Configuring Hyperledger Fabric
There are three entities in the insurance claim network—insuree, broker, and insurer. All of these participants will register in Fabric as a peer node. The following table describes the three peer roles and MSP information:
User ID | Role | Organization MSP ID |
| INSUREE | Org1MSP |
| BROKER | Org2MSP |
| INSURER | Org3MSP |
Â
We have one insuree who joins the organization with MSP ID org1, one broker who joins the organization with MSP ID org2, and one insurer who joins the organization with MSP ID org3. For bootstrapping the fabric network, we need to first generate crypto material for all three components that we need to run.
Generating the certificate
We need to define crypto-config.yaml
and use the cryptogen tool to generate the certificates for each peer. Cryptogen is available in the tools image. crypto-config.yaml
contains the following information:
- OrdererOrgs: Definition of organizations managing orderer nodes
- PeerOrgs: Definition of organizations managing...