MetaMask / rpc-cap

A module for adding an object-capabilities system to any JSON-RPC API as middleware for json-rpc-engine
ISC License
32 stars 32 forks source link

Re-architect rpc-cap #133

Closed rekmarks closed 2 years ago

rekmarks commented 3 years ago

At the moment, rpc-cap consists of:

In other words, rpc-cap is three distinct things in one, confused package. Moreover, it's difficult to integrate with the rest of our stack, as evidenced by the ~700-line extension permissions controller, which is more or less a wrapper for the various components of rpc-cap.

To properly modularize rpc-cap and make it easier to work with, we (minimally) need to:

rekmarks commented 2 years ago

Closed by https://github.com/MetaMask/snaps-skunkworks/pull/132