MetaMask / MetaMask/snaps

Consider extending cron to push wake ups

Open
#863 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
853
Forks
662
Avg merge
2d 8h
Merged PRs (30d)
8

Description

Multiple different alerts could be used to wake up a snap.

Examples provided by the Vikings team:
* When something happens on-chain (events log)
* EPNS (Push)
* Server hooks

Currently snaps side-step the issue by entering a polling infinite loop

Contributor guide

Open the contributing guide

Research direction

Start by locating the current cron implementation and the polling infinite loop used by snaps. Review how wake-ups are scheduled today, then determine the scope for event-log, EPNS Push, and server-hook alerts. Done should include an agreed design and implementation path for supporting these wake-up sources.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.