0 votes
1 view
in Blockchain by (11.4k points)

Is it possible to have one client or peer to be part of two different hyperledger fabric networks (where each network has it own orderer, Fabric CA, etc.)? The reason I'm asking is I want to make two different hyperledger fabric network to be able to communicate and execute chaincodes from one network to another (cross-communication).

1 Answer

0 votes
by (27.7k points)

Yes, it is possible to have an endorsing peer participate in 2 different networks (e.g. a supply chain blockchain n/w and a logistics blockchain n/w) both of which have a separate smart contract. Here, the joint peer will have 2 ledgers from both n/w and can make a transaction in both chains who have different orderer and CA. You have to set up the right read and write transaction permissions for this endorsing peer accordingly in yaml file and have right certificates.

hope this helps

Welcome to Intellipaat Community. Get your technical queries answered by top developers !