@wallet-ui/core
v4.0.1
Published
Wallet UI core
Readme
@wallet-ui/core
@wallet-ui/core is the framework-agnostic foundation of Wallet UI. It provides the necessary building blocks for state management and configuration that power the UI components and hooks in other packages like @wallet-ui/react.
Core Features
- State Management: Uses Nanostores to create and manage the global state for the selected wallet, account, and cluster.
- Persistence: Handles saving the user's wallet and cluster selection to
localStorage, so their choices are remembered across sessions. - Configuration: Provides helper functions (e.g.,
createSolanaDevnet) for defining the clusters your application will support.
Usage
This package is generally used as a peer dependency of a framework-specific adapter like @wallet-ui/react and is not typically installed or used directly.
For complete documentation, please visit wallet-ui.dev/docs/core.
