Skip to content

[RFP] LEZ JSON-RPC Proxy Module & Client Library #237

Description

@fryorcraken

One of five LEZ deliverables split out from #214 ("Review API reference and
requirements for Blockchain and LEZ integration"). No draft PR yet.

Scope

The two halves of one wire contract: the JSON-RPC proxy module, and the Rust
client library that consumes it. This issue absorbs the client library, which
was tracked separately as #239 (now closed) until RFP-027 merged the two.

The proxy module carries JSON-RPC transport over both LEZ FFI surfaces,
covering both the LEZ wallet API and the LEZ node API, the latter being the one
an integrator running a LEZ node as an RPC provider uses most. This is the wire
surface a CEX backend consumes the chain over, rather than reaching the FFI
locally. A transport projection of surfaces defined elsewhere: no new protocol
design.

The client library is a Rust client for that same surface, so a consumer
reaches a remote node without writing the transport itself. Rust is required,
since the LEZ-DK consumes it; other languages follow demand.

Defining them together keeps the wire format and the client that parses it from
drifting apart.

Source material

Dependencies

Cannot be scoped until both FFI surfaces are defined.

Open questions

  • Which client languages beyond Rust, and on what signal.

Related

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions