configForExternalWallets

Configure external wallets for Account Kit with simplified wallet name-based configuration Handles both EVM connectors and Solana adapters, returns config for core and UI

Import

1import { configForExternalWallets } from "@account-kit/react";

Parameters

root0

ConfigForExternalWalletsParams

  • Configuration parameters object

root0.wallets

SupportedWallet[]

  • Array of wallet names in display order

root0.chainType

ChainType[]

  • Array of supported chain types

root0.walletConnectProjectId

string

  • Project ID for WalletConnect

root0.moreButtonText

string

  • Text for the “more wallets” button

root0.hideMoreButton

boolean

  • Whether to hide the more button

root0.numFeaturedWallet

number

  • Number of wallets to show as featured

Returns

ConfigForExternalWalletsResult Object containing connectors, adapters, and UI config