Skip to content
Advertisement

Can a single peer run 2 different chaincode

I am trying to chaincode something so just have a question that can a single peer run 2 different chaincodes?

So need your help here.

Advertisement

Answer

Yes, peer can have more than one chaincode installed and instantiated. Moreover for some case this is actually vital, for example if you would like to have a chaincode foo too call chaincode bar, you have install both these chaincodes on same peer. (Of course chaincodes have to be instantiated).

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement