Standardize a Stellar RPC contract #254
Labels
CAP
Represents an issue that requires a CAP.
help wanted
Open especially for those who want to write a CAP/SEP!
needs draft
This an issue that has no corresponding draft, and as such has not entered the CAP/SEP process.
Currently, the main stellar-core consumer, horizon, is heavily dependent on the internals of the stellar-core implementation. Specifically, it directly accesses the stellar-core postgresql database.
Problems with current implementation:
A standardized Stellar RPC contract can solve the above and open a path for diversity of implementations.
Some potential stellar-rpc requests:
Some bad stellar-rpc requests:
Format: given that stellar uses XDR extensively, we can use ONC which is a minimal standard for creating XDR request/response messages.
Transport: HTTP and/or IPC (ethereum's json-rpc, for example, supports both).
Prior art:
The text was updated successfully, but these errors were encountered: