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

Feat: allow switching wallet #1496

Merged
merged 3 commits into from
Jan 10, 2023
Merged

Feat: allow switching wallet #1496

merged 3 commits into from
Jan 10, 2023

Conversation

katspaugh
Copy link
Member

What it solves

Resolves #1490

How this PR fixes it

Instead of making the user disconnect to connect to another wallet, allow simply connecting in parallel.

Screenshot 2023-01-06 at 14 39 43

Screenshot 2023-01-06 at 14 40 51

How to test it

  • Connect to MM
  • Switch wallet to WC
  • Switch back to MM

Analytics changes

None, but it should track the wallet each time

@github-actions
Copy link

github-actions bot commented Jan 6, 2023

Branch preview

✅ Deploy successful!

https://switch--webcore.review-web-core.5afe.dev

@github-actions
Copy link

github-actions bot commented Jan 6, 2023

ESLint Summary View Full Report

Annotations are provided inline on the Files Changed tab. You can also see all annotations that were generated on the annotations page.

Type Occurrences Fixable
Errors 0 0
Warnings 0 0
Ignored 0 N/A
  • Result: ✅ success
  • Annotations: 0 total

Report generated by eslint-plus-action

}

// A workaround for an onboard "feature" that shows a defunct account select popup
// See https://github.com/blocknative/web3-onboard/issues/888
Copy link
Member Author

Choose a reason for hiding this comment

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

I mentioned our use case in a comment there.

Copy link
Member

@usame-algan usame-algan left a comment

Choose a reason for hiding this comment

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

Really cool feature and nice that we make use of it now!

@francovenica
Copy link
Contributor

I thought this was not possible. Glad to see it working

I was able to switch between MM, WC (MM phone app), Trezor and Ledger with no issues for now.

@katspaugh katspaugh merged commit e7c7f00 into dev Jan 10, 2023
@katspaugh katspaugh deleted the switch branch January 10, 2023 09:37
@github-actions github-actions bot locked and limited conversation to collaborators Jan 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow switching to a previously connected wallet
3 participants