web3modal icon indicating copy to clipboard operation
web3modal copied to clipboard

Metamask warning: use of removed window.web3 API

Open tom-s07 opened this issue 3 years ago • 2 comments

Metamask shows a warning:

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.

Versions:

  "web3": "^1.5.2",
  "web3modal": "^1.9.4"

Is there a way to avoid that?

tom-s07 avatar Aug 26 '21 06:08 tom-s07

Any news about this?

ndoulgeridis avatar Nov 22 '21 22:11 ndoulgeridis

This is still an issue.

cooperate avatar Jan 20 '22 04:01 cooperate

With stable version 2.0.0 of Web3Modal now released, we are officially dropping support for version 1.x Due to this this issue/pr was marked for closing. It is highly recommended to upgrade as 2.x will be receiving further updates that will enable functionality for some of our newer sdks like auth and push as well as support for WalletConnect v2 (See this post about WalletConnect v1 being deprecated https://medium.com/walletconnect/walletconnect-v1-0-sunset-notice-and-migration-schedule-8af9d3720d2e)

If you need to continue using Web3Modal 1.x and require this feature/fix implemented, we suggest adding it via forking V1 branch.

xzilja avatar Jan 21 '23 15:01 xzilja