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: support EIP-6963 #1126

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

feat: support EIP-6963 #1126

wants to merge 2 commits into from

Conversation

wa0x6e
Copy link
Contributor

@wa0x6e wa0x6e commented Jan 26, 2025

Summary

Closes: https://github.com/snapshot-labs/workflow/issues/32

This PR refactor the authentication system, by removing the Lock library and implementing the logic directly.

How to test

  1. All authentication logic still work as before
  2. All your installed wallets will now appear when choosing a connection method (compared to before, where only the first injected wallet would appear)

NOTE

It looks like a big PR if when you're looking at the number of files changed, but most of them are due to type renaming

@wa0x6e wa0x6e force-pushed the feat-eip-6963-2 branch 2 times, most recently from 74404ff to 452daa7 Compare January 26, 2025 23:11
@bonustrack
Copy link
Member

bonustrack commented Jan 27, 2025

Sometime MetaMask and Phantom connectors are displayed twice, this seems to happen when I open duplicate the page in Chrome
image

@wa0x6e wa0x6e marked this pull request as ready for review January 27, 2025 13:16
@wa0x6e wa0x6e marked this pull request as draft January 27, 2025 13:31
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