Replies: 3 comments
-
Not a bad idea. Would also make it easier to implement in different languages. |
Beta Was this translation helpful? Give feedback.
-
I definitely think it should be a separate library. It's important to note this isn't a RPC client. This is a REST client. |
Beta Was this translation helpful? Give feedback.
-
I like the idea of extracting alpha API into a separate repo, so we can easily deprecate it once the time comes. Surely, there are also other good reasons to extract it. Note that future Public API in celestia-node inherently covers the client-side of the communication. Ideally, Public API would be a set of interfaces over each celestia node module with two implementations: one over an embedded node and another over an RPC client that talks to a remote Node. The latter will supersede the Alpha API eventually, and these interfaces would live in the celestia node repo or extract to a separate API repo, which is TBD. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
#399 introduces simple library to handle celestia-node RPC endpoints.
In my opinion, this library can be useful on it's own. My idea is:
Beta Was this translation helpful? Give feedback.
All reactions