Re: Calling a Javascript-based chaincode function from Go-based chaincode


Gari Singh <garis@...>
 

Invoking chaincode from chaincode is language independent. Both the Go and Node ChaincodeStub objects provide the "InvokeChaincode" function and it can be used to call chaincode written in any language.

-- G


-----------------------------------------
Gari Singh
Distinguished Engineer, CTO - IBM Blockchain
IBM Middleware
550 King St
Littleton, MA 01460
Cell: 978-846-7499
garis@...
-----------------------------------------

-----fabric@... wrote: -----
To: hyperledger-fabric <hyperledger-fabric@...>
From: Yongrae Jo
Sent by: fabric@...
Date: 05/11/2018 10:52AM
Subject: [Hyperledger Fabric] Calling a Javascript-based chaincode function from Go-based chaincode

I can find some documents that explain how to call chaincode function from another different chaincode written in same language (Go).
But I don't know whether it is also possible to call a chaincode function written in different language such as Go and Javascript. If it is possible, how one can write such kinds of codes?

Regards,

Join fabric@lists.hyperledger.org to automatically receive all group messages.