LF-Decentralized-Trust-labs / paladin

Programmable privacy for EVM
https://lf-decentralized-trust-labs.github.io/paladin
Apache License 2.0
16 stars 6 forks source link

Bootstrap the JSON/RPC interface #26

Open peterbroadhurst opened 4 months ago

peterbroadhurst commented 4 months ago

A natural API surface area for Paladin that is natural for Etherum users is JSON/RPC.

However, the Ethereum specific (eth_ / net_) methods that are exposed by Besu and other EVM derivations do not support private transactions.

So we need to create:

peterbroadhurst commented 4 months ago

There are multiple hardened implementations of JSON/RPC servers available for us to extend. We have the choice of Golang and Java within our runtime engine.

I did some exploration of the Hyperledger Besu JSON/RPC framework, as we are very closely aligned with that community (embedding key code modules like the Besu EVM). However, the JSON/RPC framework in Besu is not intended for re-use as some other components are - with a tightly coupled view of the set of implemented JSON/RPC methods.

So I've eliminated that as a potential direction.