Patronum
Patronum is a library that provides an Ethereum RPC proxy, which verifies RPC responses against given trusted block hashes.
Currently, most of the Dapps and wallets interact with Ethereum over RPC. Patronum can be used as a building block to build light clients that retrofit into the existing Ethereum infrastructure.
This library mainly takes advantage of the eth_getProof
RPC to perform merkle inclusion proofs for RPC call verification. It also requires eth_createAccessList
to be supported by the proxied full node provider (Infura does not support this).
Links
- NPM package: @lightclients/patronum
- See the code on GitHub