MetaMask / MetaMask/snaps

Detect if Snap needs to be updated in sandbox

Open
#3,354 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

snaps-feature snaps-unrefined-backlog
Dominant language
TypeScript
Stars
853
Forks
662
Avg merge
2d 8h
Merged PRs (30d)
8

Description

Currently when making updates to a Snap when using the sandbox, you need to manually remove the Snap from MetaMask and reinstall it. We can do polling on the manifest to detect if the shasum changed, thus the Snap needs to be reinstalled.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the sandbox code that reads the Snap manifest and handles installation updates. Trace how the manifest shasum is obtained, then determine where polling can trigger reinstallation when it changes. Done means sandbox Snap updates are detected without manually removing and reinstalling the Snap.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
developer-experience
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.