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

Connect via Safe Apps SDK #83

Merged
merged 7 commits into from
Feb 12, 2024
Merged

Connect via Safe Apps SDK #83

merged 7 commits into from
Feb 12, 2024

Conversation

jfschwarz
Copy link
Collaborator

@jfschwarz jfschwarz commented Jan 26, 2024

If an apps supports being run as a Safe app (uses Safe Apps SDK), Pilot will now connect to it that way. This connection will happen instantly (the user does not have to click through a wallet modal). Also some apps will adjust their transaction flows for smart account if they detect a Safe wallet.

In order to get this work reliably we need to make sure we have a provider ready before connecting to the Safe app. This is achieved by using a static JSON RPC provider rather than always going through the user's wallet (which might not be ready yet) as we used to.

Follow-up tasks, that we should tackle in subsequent PRs:

@jfschwarz jfschwarz merged commit 4c014ea into main Feb 12, 2024
1 of 2 checks passed
@jfschwarz jfschwarz deleted the safe-apps-sdk branch February 12, 2024 09:20
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.

2 participants