Skip to main content
Hook to get the CDP Standard Solana Wallet with ready state. This hook monitors the user’s Solana accounts from CDP core and:
  • 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

Returns

Object containing ready flag and wallet instance

Example