Hyperledger Fabric v1.0 provides basic API using Protocol Buffers over gRPC for applications to interact with the blockchain network.
I have seen many examples using CLI commands, but hard to find any GO/JAVA client who are communicating with Blockchain using gRPC. Earlier it was supporting REST APIs but seem like they stopped support for it in newly released V1.0 versionDocumention.
If anyone has any idea about how to write gRPC client for fabric client in GO/Java language, please help.
I just run the example in v1.0 doc OK.
curl -L https://raw.githubusercontent.com/hyperledger/fabric/master/examples/sfhackfest/sfhackfest.tar.gz -o sfhackfest.tar.gz 2> /dev/null; tar -xvf sfhackfest.tar.gz
curl -OOOOOO https://raw.githubusercontent.com/hyperledger/fabric-sdk-node/v1.0-alpha/examples/balance-transfer/{config.json,deploy.js,helper.js,invoke.js,query.js,package.json}
This example using node.js interact with peers.
Thus, I will read these javascripts. Maybe I can find some track of HTTP GET/POST rest API.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With