web3modal
web3modal copied to clipboard
no popup but goes straight to metamask ?
I tried to follow the simple steps(other than adding WalletConnect) but instead of seeing the popup of providers to select, it kick start metamask immediately.
However, if I tried the .connectTo('walletconnect'), it does show the QR code of WalletConnect.
I am also experiencing this issue.
Not sure of the root cause of this, but it seems to work for me if I call web3Modal.clearCachedProvider() before web3Modal.connect().
Not sure of the root cause of this, but it seems to work for me if I call web3Modal.clearCachedProvider() before web3Modal.connect().
this solution works great, thanks!
const web3Modal = new Web3Modal({ disableInjectedProvider: true }); maybe of interest too
You might have found yourself here because you forgot to add the providers specs as they are used here https://github.com/Web3Modal/web3modal/blob/2ff929d0e99df5edf6bb9e88cff338ba6d8a3991/example/src/App.tsx#L235 for me it came bundled with a can't connect to websocket error in console
web3Modal.clearCachedProvider()
This worked for me thanks :)
I can't see my web3modal dialog pop up any help with that?
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.