You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #21949, it's mentioned that isBraveWallet is added; however, if the MetaMask extension is installed, Brave's isBraveWallet isn't found anymore. MetaMask likely overrides it as a provider.
Steps to Reproduce
Have more than two wallet extensions(Coinbase Wallet and MetaMask, for example)
We're able to detect three providers with ethereum.providers
Disable the Coinbase Wallet extension, leaving just the MetaMask extension active
We're no longer able to detect Brave's provider
Actual result:
When the MetaMask extension is disabled, and Coinbase Wallet is enabled, we get the proper result. Both isCoinbaseWallet and isBraveWallet exist
When the MetaMask extension is enabled, and CoinbaseWallet is disabled, we no longer get the Brave provider
When both MetaMask and Coinbase Wallet are enabled, we get all three providers
Coinbase wallet prepares the providers array to address the compatibility issue. Right now to use brave wallet and co exist with metamask you must set your Default Crypto Wallet setting to Brave Wallet (not Prefer Extensions) to prevent the override and Brave Wallet (Prefer Extensions) when you want metamask to override brave. :(
Description
In #21949, it's mentioned that
isBraveWallet
is added; however, if the MetaMask extension is installed, Brave'sisBraveWallet
isn't found anymore. MetaMask likely overrides it as a provider.Steps to Reproduce
ethereum.providers
Actual result:
When the MetaMask extension is disabled, and Coinbase Wallet is enabled, we get the proper result. Both
isCoinbaseWallet
andisBraveWallet
existWhen the MetaMask extension is enabled, and CoinbaseWallet is disabled, we no longer get the Brave provider
When both MetaMask and Coinbase Wallet are enabled, we get all three providers
Expected result:
The Brave provider is always there.
Reproduces how often:
Easily reproduced
Brave version (brave://version info)
1.41.96 Chromium: 103.0.5060.114 (Official Build) (64-bit)
Version/Channel Information:
Other Additional Information:
Miscellaneous Information:
The text was updated successfully, but these errors were encountered: