Invoking qscc from client SDK (V2.0) #fabric-sdk-node #qscc


tingli_huoh@...
 

I think system chaincodes can be invoked from either client SDK or peer CLI.
Under the same fabric environment, I am able to invoke qscc from CLI but having an error when invoking from client SDK.
I was using the same method as invoking user chaincode.
The error reports "peer is not running chaincode qscc" at the code line of network.getContract('qscc')

So, I am wondering how can I invoke qscc from client SDK? Thank you!! 

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