Consider allowing Snaps to listen / modify Web3 RPC calls
Open
area-capabilities
type-enhancement
type-research
- Dominant language
- TypeScript
- Stars
- 853
- Forks
- 662
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 8
Description
I imagine a situation where Metamask has not added new Web3 features and a Snap comes in and adds them themselves. If Snaps could listen to RPC requests made by the user, they could respond to them in a seamless way allowing to extend Metamask's RPC API.
Contributor guide
Research direction
Begin by reviewing the Snap RPC architecture and how user Web3 RPC requests currently flow through the project. Define the supported interception and modification behavior, including how a Snap responds, then identify the affected entry points and tests; done means the behavior is specified, implemented, and covered for representative RPC calls.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100