I've been messing around with gRPC
and I was looking into building my own simple and comprehensive hyperledger
fabric SDK
in rust.
I've looked everywhere for any gRPC
spec of hyperledger
fabric to see how we can reproduce the functionality of interacting with the peers, stuff like managing channels and performing invokes and queries.
(reproduce this behavior: https://hyperledger-fabric.readthedocs.io/en/release-1.4/commands/peerchannel.html).
Online, everyone says that the functionality is exposed over gRPC
, but that they recommend using an existing SDK.
I've inspected the nodeJS SDK
and looked for their .proto files, but there are barely any services (https://github.com/hyperledger/fabric-sdk-node/tree/release-1.4/fabric-client/lib/protos)
Is there any way to get their gRPC
spec? is there a generic way to do this for gRPC
servers? Why is it so hidden?
Thanks!
I believe the protos are recently relocated to https://github.com/hyperledger/fabric-protos for the master branch, which is not yet released.
For an as current 1.4 based project, look at the protos/
directory in the main fabric repository. https://github.com/hyperledger/fabric/tree/release-1.4/protos
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