MetaMask / MetaMask/snaps

Consider allowing Snaps to have more direct access to Metamask Infura infrastructure

Open
#400 0 comments 0 reactions 0 assignees View on GitHub
area-capabilities type-enhancement type-research
Dominant language
TypeScript
Stars
853
Forks
662
Avg merge
2d 8h
Merged PRs (30d)
8

Description

Currently if Snaps want to support custom networks, they have to go out of band and use their own infrastructure to communicate with the network such as their own Infura keys. Having custom Infura keys in a public Snap is not the greatest idea. We could somehow allow Snaps to get access to Metamask's network infrastructure to be able to connect to IPFS, Polygon, Eth2, etc using Metamask provider.

CC @jeffprestes

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by reviewing how Snaps currently access custom networks and how the MetaMask provider exposes infrastructure, then clarify the security and scope requirements. Done requires an agreed implementation design for safe access to MetaMask services.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, blockchain, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.