MetaMask / MetaMask/snaps

Add permission to list all installed Snaps

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

Description

Currently, a website can only list Snaps that the website is connected to (i.e., has the `wallet_snap` permission for). For the Snaps Directory (and other 3rd party directories), it can be useful to list all installed Snaps, using a method like `wallet_getAllSnaps`. This method should require a permission, and only be usable by websites.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the existing wallet_snap permission handling and wallet_* methods, especially the proposed wallet_getAllSnaps entry point. Define the permission required for listing every installed Snap and ensure the method is restricted to websites; the issue is complete when this behavior is implemented and covered by the relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, authorization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.