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

Metamask + Coinbase Wallet Extension not working #35

Open
jonomnom opened this issue Jan 11, 2023 · 3 comments
Open

Metamask + Coinbase Wallet Extension not working #35

jonomnom opened this issue Jan 11, 2023 · 3 comments

Comments

@jonomnom
Copy link

I am unable to get this package to work when I have both metamask and coinbase wallet as an extension.

@jonomnom
Copy link
Author

if (
  window.ethereum.providerMap &&
  window.ethereum.providerMap.get("MetaMask")
) {
  window.ethereum = window.ethereum.providerMap.get("MetaMask");
}

Quick fix

@mdtanrikulu
Copy link
Owner

mdtanrikulu commented Jan 21, 2023

if (
  window.ethereum.providerMap &&
  window.ethereum.providerMap.get("MetaMask")
) {
  window.ethereum = window.ethereum.providerMap.get("MetaMask");
}

Quick fix

@jonomnom Thank you for the fix! I will make a PR with that, if you want to contribute yourself, your PR is welcome too.

@Walletsuppport I am not sure what exactly do you support, but may I ask you to edit your message with a clear intention and non-affiliation with me. Otherwise I have to remove your comment, due to possible phishing, scam intention.

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

No branches or pull requests

3 participants
@mdtanrikulu @jonomnom and others