TrueFiEng / useDApp

Framework for rapid Dapp development. Simple. Robust. Extendable. Testable
https://usedapp.io
MIT License
1.59k stars 368 forks source link

How to choose which browser wallet will be activated with `activateBrowserWallet` #460

Closed khoanguyen-yang closed 2 years ago

khoanguyen-yang commented 2 years ago

Hi guys,

I currently install Metamask extension and a walllet extension called Coin98 Wallet (https://chrome.google.com/webstore/detail/coin98-wallet/aeachknmefphepccionboohckonoeemg).

When I trigger activateBrowserWallet, the Coin98 Wallet will popup. Is there any way that I can activate Metamask instead?

Many thanks.

thebuidler commented 2 years ago

Bump, am interested too...

Do we need to resort to activate?

ItsShadowl commented 2 years ago

You have to use activateif your browser have a specific Provider/Connector library, if not i'm not sure how to inform the first InjectedNetwork to not respond

mj426382 commented 2 years ago

Currently there is only an option to connect to metamask wallet. We are considering to add more wallets soon.