Is it possible to decrease amount of wallets? #3581
Answered
by
MuckT
Opty1712
asked this question in
Developer Support
-
Hi, I want to use only MetaMask, CoinBase, TrustWallet and Ledger. Is it possible? |
Beta Was this translation helpful? Give feedback.
Answered by
MuckT
Sep 1, 2023
Replies: 1 comment 1 reply
-
I'd argue you might not actually want to limit the available wallets to only certain wallets as your effectively reducing your number of possible dapps users, but if you wanted to the code below should do it. If you just want to control the preferred wallets simply remove the <Web3Modal
projectId={'DAPP_PROJECT_ID'}
ethereumClient={'DAPP_ETHEREUM_CLIENT'}
explorerExcludedWalletIds="ALL"
explorerRecommendedWalletIds={[
// MetaMask ID https://walletconnect.com/explorer/metamask
'c57ca95b47569778a828d19178114f4db188b89b763c899ba0be274e97267d96',
// CoinBase ID https://walletconnect.com/explorer/coinbase-wallet
'fd20dc426fb37566d803205b19bbc1d4096b248ac04548e3cfb6b3a38bd033aa',
// Trust Wallet ID https://walletconnect.com/explorer/trust-wallet
'4622a2b2d6af1c9844944291e5e7351a6aa24cd7b23099efac1b2fd875da31a0',
// Ledger Live ID https://walletconnect.com/explorer/ledger-live
'19177a98252e07ddfc9af2083ba8e07ef627cb6103467ffebb3f8f4205fd7927'
]}
/> |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Opty1712
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'd argue you might not actually want to limit the available wallets to only certain wallets as your effectively reducing your number of possible dapps users, but if you wanted to the code below should do it. If you just want to control the preferred wallets simply remove the
explorerExcludedWalletIds="ALL"
prop.