@tuwaio/satellite-connect-monorepo
initAllConnectors()
initAllConnectors(
props
): readonlyCreateConnectorFn
[]
Defined in: packages/satellite-evm/src/connectors/index.ts:47
Initializes all supported wallet connectors based on provided configuration
Parameters
props
ConnectorsInitProps
Configuration options for initializing connectors
Returns
readonly CreateConnectorFn
[]
Array of wallet connector instances
Remarks
Creates instances of various wallet connectors including:
- Injected provider (e.g. browser wallets)
- MetaMask
- Coinbase Wallet
- Gnosis Safe
- WalletConnect (if projectId provided)
- Impersonated wallet (for development/testing)
The order of connectors in the returned array determines their priority in the wallet connection UI.
Example
const connectors = initAllConnectors({
appName: "My dApp",
projectId: "wallet_connect_project_id",
appUrl: "https://mydapp.com",
appLogoUrl: "https://mydapp.com/logo.png"
});
Last updated on