Skip to content

"Web3Provider" is not available in ethers.js v6.0.3 #3771

Answered by ricmoo
pinoybai asked this question in Q&A
Discussion options

You must be logged in to vote

It is now ethers.BrowserProvider. It was originally called Web3Provider because it wrapped a Web3.js Provider class, but those are rare these days as everyone exposes an EIP-1193 provider instead. :)

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@ahmed7am1d
Comment options

@InverseAltruism
Comment options

@muneeb-250
Comment options

Answer selected by pinoybai
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants
Converted from issue

This discussion was converted from issue #3770 on February 13, 2023 13:38.