Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intercept connections to wallet #110

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

javaspeak
Copy link

I want to create a SIP for a snap that allows for the following:

(i) Intercept the connection to the wallet
(ii) Make a call to an external API to get feedback on the wallet address
(iii) If the feedback is negative block the connection to the wallet with a suitable warning message.

Added Draft implementation of sip-13: Intercept connections to Wallet
Beefed up SIPP-13.md with some more explanations.
Improved typing in the API
Added types to method signature
Improved typing of method signature
@javaspeak javaspeak requested review from Montoya, ziad-saab and a team as code owners October 9, 2023 09:33
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is very interesting. What do you think of expanding the scope of onConnect to any connection requests? So a website asking for accounts, but also when installing Snaps, and so on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants