NClient icon indicating copy to clipboard operation
NClient copied to clipboard

RPC protocol support

Open smolchanovsky opened this issue 3 years ago • 1 comments

I would like to use the RPC protocol over HTTP or sockets. For example, to interact with the Ethereum API or Random.org. There are various specifications of the RPC protocol (JSON RPC, XML RPC, GRPC, etc.), so the logic of making an RPC request should be general, not depend on the serialization format and transport. Before implementation, the design should be discussed.

As an example for implementation, you can use the NClient.Providers.Api.Rest package. JSON RPC spec: https://www.jsonrpc.org/specification XML RPC spec: http://xmlrpc.com/spec.md GRPC spec: https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md

smolchanovsky avatar Nov 21 '21 21:11 smolchanovsky

I suggest implement this feature to the next release with first priority ;-)

Kingmidas74 avatar Dec 24 '21 00:12 Kingmidas74