-
gm from ethsf, We are interested in using a snap to show a notification in metamask when their account has received a message. The stumbling point at the moment is: how to do some kind of polling or periodic checking for messages (ie: an api call) within a snap, without requiring clients to implement new rpc methods. Forcing clients to support our snaps rpc methods would kill chances of adoption. Ideally, I could:
I've looked at the docs closely and it seems like this isn't possible, is there any workaround–even if hacky? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hello @jtgi, last week we've build cronjobs, which allow you to run background periodic snaps. It's not currently released inside Flask yet, so please watch for upcoming announcements. |
Beta Was this translation helpful? Give feedback.
-
Hi @ritave Is there a way to do this notification kind of service without polling? Like using websockets or something! |
Beta Was this translation helpful? Give feedback.
Hello @jtgi, last week we've build cronjobs, which allow you to run background periodic snaps.
It's not currently released inside Flask yet, so please watch for upcoming announcements.