Default Wallet setting
We expose a setting in brave://settings/wallet
to control how Brave makes the provider objects available (window.ethereum
and window.braveSolana
and its alias window.solana
)
Since extensions sometimes also provide these objects, this setting will help decide which wallet handles these objects.
Here's a description of each setting:
Extensions (Brave Wallet fallback)
- This is the default. Brave Wallet will exposewindow.ethereum
andwindow.braveSolana
but allow other extensions such as MetaMask to overwrite it.Brave Wallet
- Exposeswindow.ethereum
andwindow.braveSolana
and prevents sites and extensions from changing them.Extensions (no fallback)
-window.ethereum
andwindow.braveSolana
will not be provided by Brave Wallet at all. If you have enabled an extension such as MetaMask, it is free to use the provider object.Crypto Wallets (Deprecated)
- Gives access to the old deprecated wallet. This option is not compatible with other extensions such as MetaMask.
After changing the default wallet, it is best to restart your browser. Why?
- If you had Brave Wallet loaded, it won't be unloaded until the next restart. When Brave Wallet is loaded it will not work properly with other extensions trying to access
window.ethereum
. - Existing tabs (ones already opened) will not change to use the new wallet setting, you need a new tab or a browser restart.