This looks promising. Looking forward to see cashu implemented into more applications.
coco-cashu provides a complete foundation for Cashu development with a storage-agnostic core that handles all the complexity: proof management, mint synchronization, quote lifecycle, counter tracking, and state updates through a typed event bus. Choose from ready-to-use storage adapters (SQLite3, IndexedDB, Expo SQLite) or implement your own using the simple repository interface. For React developers, there's a dedicated wrapper with hooks and context providers for seamless integration.
┌─────────────┐
│ React │
│ Wrapper │
└──────┬──────┘
│ consumes
▼
┌──────────────────────────────────┐
│ │
│ @core │
│ │
│ • Services & Business Logic │
│ • Event Bus │
│ • Repository Interfaces │
│ • Plugin System (lifecycle) │
│ │
└────┬──────────┬──────────┬───────┘
│ │ │
depends│ depends│ depends│
▼ ▼ ▼
┌──────────┐ ┌──────────┐ ┌──────────┐
│ SQLite3 │ │ IndexedDB│ │ Expo │
│ Adapter │ │ Adapter │ │ SQLite │
└──────────┘ └──────────┘ └──────────┘
(Node) (Web) (Mobile)