After the release of the new Brave wallet, MetaMask stopped working (Still works in all other browsers) with Ethereum dapps. Also, the new Brave wallet doesn’t work as well. The only thing that works is using the deprecated Brave crypto wallet.
Is there any documentation on the new Brave wallet? (can’t seem to find any).
Why is there no longer an option to use MetaMask as default wallet?
How do I get either to work? I need at the very least to have MetaMask working again since the old crypto wallet is marked as deprecated.
I face the same issues with the Brave Wallet (Prefer Extensions) settings. I’m not sure what the issue is, but with either new brave wallet or metamask (with Prefer Extensions setting), when accessing a web3 dapp, it’s as if the wallet doesn’t exist, it’s not detected.
Metamask of course still works in other browsers, and the depricated brave crypto wallet still works in brave. If the new wallet doesn’t work then I’d rather use metamask over the deprecated, but dapps don’t detect either.
There is no other option for other wallet extensions to work when the brave wallet is on. You now have to shut off the Brave wallet to get Metamask to work.
@WaXy,
You should be able to select the Brave Wallet prefer extensions option in settings://wallet to continue using MM while still having Wallet enabled.
I did some testing and found the reason MetaMask wasn’t connecting is because the dapp was using the deprecated ethereum.enable(). I ran a test in the console with eth_requestAccounts and MetaMask then prompts to connect, this is with prefer extensions setting enabled.
However, with the new brave wallet window.ethereum is always undefined, so the dapp can’t connect because there is no provider.
@Dapp,
Metamask supports both ethereum.enable and eth_requestAccounts. With Brave wallet, window.ethereum should only be undefined when the default wallet setting (Settings --> Wallet) is set to None.