Closed Varorbc closed 1 month ago
A .NET client is not on the roadmap for this project. The Peer Gateway has a well defined gRPC/protobuf interface enabling developers to create their own language bindings, so please feel free to create one for your needs. However, the maintainers of this repo would not be taking on its maintenance here.
But I found out that it involves signatures and encryption. Can you help me with that?
To build a native C# client, you will likely need to:
An alternative — perhaps simpler — approach you might want to consider is to build a Fabric client in one of the currently supported languages (Go, Node, Java), and then expose this functionality to your .NET clients as a RESTful service.
@bestbeforetoday Thank you very much for your help
@bestbeforetoday Can I use C# to implementation Hyperledger Fabric Contract and Chaincode?
What I want to ask is, can I use C# to implement the contract API? Instead of using Java,nodejs or go.
The chaincode uses gRPC to communicate with the Fabric peer. You could implement your own smart contract API in C#. As the documentation page I linked says, "Smart contract APIs are available for Go, Node.js, and Java". There is no existing C# smart contract API so you would have to implement it yourself.
As mentioned in the contributing document, please do not use issues to ask questions. Use one of the resources for question mentioned in that document.
As a .NET Developer I want .NET client API for Hyperledger Fabric v2.4+