When I connect my wallet to my website using Moralis.authenticate()
, I get the following warning in Metamask itself when I open it:
We noticed that the current website tried to use the removed window.web3 API. If the site appears to be broken, please click here for more information.
Screenshot:
I also get these 3 warnings in the console at the same time:
You are accessing the MetaMask window.web3.currentProvider shim. This property is deprecated; use window.ethereum instead. For details, see: https://docs.metamask.io/guide/provider-migration.html#replacing-window-web3
MetaMask: The event ‘close’ is deprecated and may be removed in the future. Please use ‘disconnect’ instead.
For more information, see: https://eips.ethereum.org/EIPS/eip-1193#disconnect
inpage.js:1 MetaMask: ‘ethereum.enable()’ is deprecated and may be removed in the future. Please use the ‘eth_requestAccounts’ RPC method instead.
For more information, see: https://eips.ethereum.org/EIPS/eip-1102
Are there any plans to update Moralis to not used deprecated web3 calls?