Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: bobthegrownup on April 02, 2019, 07:48:52 AM



Title: New BIP: Add OpenRPC Service Discovery To JSON-RPC Services #776
Post by: bobthegrownup on April 02, 2019, 07:48:52 AM
https://github.com/bitcoin/bips/pull/776

The Ethereum Classic Labs Core (ECLC) team recently created the OpenRPC Specification. The specification emulates OpenAPI, the successful and widely adopted specification for REST APIs.

"The OpenRPC Specification defines a standard, programming language-agnostic interface description for JSON-RPC 2.0 APIs, which allows both humans and computers to discover and understand the capabilities of a service without requiring access to source code, additional documentation, or inspection of network traffic. When properly defined via OpenRPC, a consumer can understand and interact with the remote service with a minimal amount of implementation logic. Similar to what interface descriptions have done for lower-level programming, the OpenRPC Specification removes guesswork in calling a service."

The main developers were Zachary Belford and Shane Jones

1.0.0 release out today. - https://github.com/open-rpc/spec/releases/tag/1.0.0?from=groupmessage&isappinstalled=0

https://spec.open-rpc.org

https://github.com/open-rpc

The duo are pretty active on Discord and answering any questions/taking feedback about the spec here

https://discord.gg/SPFQkPr



Title: Re: New BIP: Add OpenRPC Service Discovery To JSON-RPC Services #776
Post by: bobthegrownup on May 28, 2019, 08:34:59 PM
I circled back to see where this had been left off

https://github.com/bitcoin/bips/pull/776

Looks like Luke Jr is a fan, but the bip needs to be resubmitted

Either way, looks like their is agreement on using OpenRPC specifications and I invite others to join the conversation. The earlier we phase out REST and jointly use the same framework the better


Title: Re: New BIP: Add OpenRPC Service Discovery To JSON-RPC Services #776
Post by: DaCryptoRaccoon on May 29, 2019, 10:22:19 AM
Good read I thought OpenRPC was built by the ETH team but I was unsure.
It would be nice to a set standard across the board and it may lead to more development in this area.


Title: Re: New BIP: Add OpenRPC Service Discovery To JSON-RPC Services #776
Post by: bobthegrownup on May 30, 2019, 03:38:50 PM
Good read I thought OpenRPC was built by the ETH team but I was unsure.
It would be nice to a set standard across the board and it may lead to more development in this area.

Thanks! Working hard on socializing this across different projects. The BIP seems to be well received, but we need to socialize it more. Im going to move forward with the email list submission and see if that helps move things along.