window.ethereum
to support Metamask on your app, you can prevent this scenario with the following code snippet, which specifies that your injected provider option only works with Metamask:
window.ethereum
to support Metamask on your app, you can prevent this scenario with the following code snippet, which specifies that your injected provider option only works with Metamask: