-
Ethers Version6.0.3 Search TermsWeb3Provider, providers, imports, Describe the ProblemHi, I am using Web3Modal for managing wallet connection. in V5 it was possible to import Code Snippet
Contract ABINo response Errorsexport 'Web3Provider' (imported as 'Web3Provider') was not found in 'ethers/providers' (possible exports: AbstractProvider, AbstractSigner, AlchemyProvider, AnkrProvider, Block, BrowserProvider, CloudflareProvider, EnsPlugin, EnsResolver, EtherscanPlugin, EtherscanProvider, FallbackProvider, FeeData, FeeDataNetworkPlugin, GasCostPlugin, InfuraProvider, InfuraWebSocketProvider, IpcSocketProvider, JsonRpcApiProvider, JsonRpcProvider, JsonRpcSigner, Log, Network, NetworkPlugin, NonceManager, PocketProvider, QuickNodeProvider, SocketBlockSubscriber, SocketEventSubscriber, SocketPendingSubscriber, SocketProvider, SocketSubscriber, TransactionReceipt, TransactionResponse, UnmanagedSubscriber, VoidSigner, WebSocketProvider, copyRequest, getDefaultProvider, showThrottleMessage) EnvironmentOther (please specify) Environment (Other)ReactJs |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
It is now |
Beta Was this translation helpful? Give feedback.
-
quelle alternative peut ont utilise ? |
Beta Was this translation helpful? Give feedback.
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. :)