Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON-RPC interface #6420

Open
BelfordZ opened this issue Jun 7, 2019 · 1 comment
Open

JSON-RPC interface #6420

BelfordZ opened this issue Jun 7, 2019 · 1 comment
Labels
kind/enhancement A net-new feature or improvement to an existing feature status/wontfix This will not be addressed

Comments

@BelfordZ
Copy link

BelfordZ commented Jun 7, 2019

I would like to add ipfs to https://github.com/etclabscore/jade-service-runner and it would be much easier if there was a JSON-RPC interface, and EVEN more easy if it had an OpenRPC document / service discovery implemented.

There are a lot of ways this could be implemented, I'm not familiar enough with this codebase to make the call on what may be the best way.

@Stebalien Stebalien added kind/enhancement A net-new feature or improvement to an existing feature status/wontfix This will not be addressed labels Jun 14, 2019
@Stebalien
Copy link
Member

While this would definitely be useful, it would be a sizable undertaking and isn't really the direction we'd like to take our RPC interface. We're planning on revamping the API transport however:

  1. We handle a significant amount of binary data so the encoding will likely be CBOR, not JSON. Binary data in JSON is currently a big pain point for us.
  2. Many of our commands need to stream responses. JSON-RPC doesn't support this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement A net-new feature or improvement to an existing feature status/wontfix This will not be addressed
Projects
None yet
Development

No branches or pull requests

2 participants