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

Investigation: trying to detect overwritten connector names #172

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

Conversation

AlexBHarley
Copy link
Collaborator

We can sometimes detect if an extension is overriding MetaMask, but the implementation is hacky and prone to breaking when wallets update what they inject.

Copy link

vercel bot commented Jun 12, 2024

@AlexBHarley is attempting to deploy a commit to the Abacus Works Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Collaborator

@jmrossy jmrossy left a comment

Choose a reason for hiding this comment

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

This PR should be in the motivation section for EIP 6963 haha

It's good to know we have some options, albeit hacky ones. If we do take this approach, I'd prefer if this logic were organized by protocol like the other stuff under src/wallet/hooks

src/features/wallet/hooks/useConnectorName.ts Outdated Show resolved Hide resolved
@AlexBHarley
Copy link
Collaborator Author

Yeah, just wanted to provide as reference.

I think the bigger win will be RainbowKit V2 as that does have 6963 support, and many wallets are supporting now. But that will be a much bigger upgrade I believe

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