Can snaps access the users Public Addresses or Asset lists? #1278
crazyrabbitLTC
started this conversation in
General
Replies: 2 comments 2 replies
-
This is not possible within snaps. The closest you can get is to ask the user to input the things they want to watch, save them in snap storage, then use cron to do your checks. |
Beta Was this translation helpful? Give feedback.
1 reply
-
So we can't then directly access their own addresses and/or assets from the
snap itself?
The use case we're thinking about here is that the cron job would query
every interval an api, sending the Address of the users Wallet, and
receiving back any notifications about the address or the assets it holds.
If instead we asked the user to input this, how would we associate the cron
job with the Snap?
Dennison
…On Tue, Mar 14, 2023 at 11:24 AM Christian Montoya ***@***.***> wrote:
To add, you can ask the user to input the addresses & assets they want to
watch via a dapp, or you can use the snap dialog "prompt" type to take an
address input as plain text.
—
Reply to this email directly, view it on GitHub
<#1278 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOZEXMCYPGZDHDSPNXJIG3W4CETVANCNFSM6AAAAAAV2SW6R4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm thinking of building a snap that relies upon knowing a users list of Public Addresses and Asset Lists. Basically I want to use a chron job to check if the user has any notifications for their Addresses or an asset that they hold. Is this something that is possible to do inside a snap?
Beta Was this translation helpful? Give feedback.
All reactions