near / nearcore

Reference client for NEAR Protocol
https://near.org
GNU General Public License v3.0
2.34k stars 632 forks source link

OpenRPC Support #2656

Closed shanejonas closed 3 years ago

shanejonas commented 4 years ago

Since this project uses JSON-RPC, I think this project could benefit from integration with OpenRPC which provides a base foundation for service discovery and tooling such as documentation and client generation for JSON-RPC akin to OpenAPI/Swagger.

Here is an example of an ethereum node with the OpenRPC playground, it gets the OpenRPC Document via calling the rpc.discover method:

https://playground.open-rpc.org/?schemaUrl=https://services.jade.builders/core-geth/mainnet/1.11.2

Let me know how I can help.

MaksymZavershynskyi commented 4 years ago

Thank you for the suggestion we will revisit it once we are through the Phase 2 launch, see our timeline: https://near.org/blog/near-mainnet-genesis/