WalletListEntry
array to the config.appearance.walletList
property. When users login with, connect, or link an external wallet in your app, the possible options (e.g. MetaMask, Rainbow, WalletConnect) will be presented to users in the order you configure them in this array.
When your React web app is accessed through the in-app browser of a mobile wallet (e.g., Rainbow,
Phantom, etc.) and that wallet is selected as a login option, the Privy SDK will automatically
detect the wallet object and prompt the user to connect in app. However, if your app is accessed
via a standard browser (e.g., Chrome, Safari, etc.), Privy will default to using WalletConnect for
mobile wallet connection.
walletList
to the connectWallet
method:
detected_ethereum_wallets
detected_solana_wallets
metamask
coinbase_wallet
rainbow
phantom
zerion
cryptocom
uniswap
okx_wallet
universal_profile
rabby_wallet
bybit_wallet
ronin_wallet
haha_wallet
safe
solflare
backpack
binance
bitkeep
(BitGet)wallet_connect
(include this to capture the long-tail of wallets that support WalletConnect in your app)wallet_connect_qr
(include this to just show a QR code to connect any wallet via the WalletConnect protocol)
detected_*_wallets
option includes all wallets that Privy detects which are not explicitly included elsewhere in the walletList array. As an example, if your user has the Zerion browser extension installed, it will appear under detected_*_wallets
– unless you include zerion
elsewhere in the walletList
array, in which case it will appear in the placement of zerion
.
Privy detects wallets via EIP6963 injection,
window.ethereum
injection, or a mobile wallet’s in-app browser.Using the Base Account (formerly Coinbase Smart Wallet)
Using the Base Account (formerly Coinbase Smart Wallet)
Coinbase Smart Wallet is now Base Account. If you support Coinbase Smart Wallet, you should add the
base_account
option to your walletList while keeping coinbase_wallet
in the if you’d like to maintain support for existing Coinbase Smart Wallet users.For more details, see the Base Account migration guide.