web3modal icon indicating copy to clipboard operation
web3modal copied to clipboard

How to limit connection only to MetaMask ?

Open fandrupaw opened this issue 4 years ago • 4 comments

I want to use only metamask, how can I configure this ?

Is this coorect ?

await web3Modal.connectTo('injected');

fandrupaw avatar Sep 06 '21 08:09 fandrupaw

Any update on this?

Adhyyan1252 avatar Jan 19 '22 05:01 Adhyyan1252

+1

endlesswork avatar Apr 04 '22 14:04 endlesswork

+1

laverix avatar May 19 '22 11:05 laverix

Same problem. I want only metamask to show.

amirrazor avatar May 22 '22 19:05 amirrazor

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