cancel
Showing results for 
Search instead for 
Did you mean: 

How to write self invoking chaincodes for Hyperledger Fabric in SAP Cloud Platform

Former Member
0 Kudos

I have created one channel in my SCP and deployed 2 chaincodes. Now, I want to implement for a scenario where chaincode 1 does some transaction and sets event on the channel. And chaincode 2 registers for this event and invokes itself once this event is broadcasted on channel. I am planning to use setEvent and registerChainCodeEvent methods for this. However, I am not sure how would the actual implementation go. Can someone please help?

Accepted Solutions (0)

Answers (0)