Connect Passport, MetaMask, WalletConnect, and other EIP-1193 wallets.Documentation Index
Fetch the complete documentation index at: https://docs.immutable.com/llms.txt
Use this file to discover all available pages before exploring further.
When to use:
- Initial user authentication
- Connecting wallets before transactions
- Switching between wallets
Installation
- npm
- yarn
Quick Start
Parameters
| Parameter | Type | Description |
|---|---|---|
flow | 'CONNECT' | Required. Specifies the connect flow |
targetWalletRdns | string | Optional. Target specific wallet by RDNS |
targetChainId | string | Optional. Target chain to connect to |
blocklistWalletRdns | string[] | Optional. Wallets to hide from selection |
Events
| Event | Description | Payload |
|---|---|---|
SUCCESS | Wallet connected | { walletProviderName, provider } |
FAILURE | Connection failed | { error } |
CLOSE | User closed widget | — |
Supported Wallets
| Wallet | RDNS | Notes |
|---|---|---|
| Passport | com.immutable.passport | Recommended for games |
| MetaMask | io.metamask | Browser extension |
| WalletConnect | — | Mobile wallets |
| Coinbase Wallet | com.coinbase.wallet | Browser + mobile |
Any EIP-1193 compatible wallet injected into the browser will appear automatically.
Next Steps
Wallet Dashboard
Show balances after connection
Passport
Learn about Passport authentication