How to use hyperledger getnative API
问题 I came across the getNative API through which one call chaincode from Hyperledger composer. See here: https://github.com/hyperledger/composer/issues/3120 Can someone please tell me exactly how does this work? Say if I have a very simple chaincode with a getter and setter, can I invoke those from the JS code in composer 回答1: To call the Hyperledger Fabric API in a transaction processor function of composer , the function getNativeAPI must be called. getNativeAPI allow users to call directly of