- Creates and registers a CdpSolanaWallet when accounts are available
- Returns a ready flag indicating when the wallet is instantiated and registered
- Returns the wallet instance for direct usage
- Handles cleanup/unregistration on unmount
Parameters
| Parameter | Type | Description |
|---|---|---|
config? | Config | Optional CDP configuration. If provided, will initialize the SDK. If omitted, assumes SDK is already initialized (e.g., via CDPHooksProvider). |