1

Is Solana's JSON RPC API doc generated off a spec, like OpenRPC? Or is it just manually updated by core devs?

Browsing the commits, it feels like it is the latter.

1
  • It's the latter
    – Jon C
    Commented Sep 15, 2022 at 23:50

1 Answer 1

0

Presently, the specification is updated manually.

2
  • 1
    However, I am kickstarting an effort to generate both the Rust interface implementation and the Typescript interface from a single specification. My hope is that it will cut down on inconsistencies between the two, and let us eliminate all of the client-side validation of server responses that we do in @solana/web3.js today. Commented Dec 8, 2022 at 18:58
  • Read more about that effort, here: twitter.com/steveluscher/status/1601245146276073474 Commented Dec 9, 2022 at 19:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.