mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-11 16:07:15 +02:00
f15119567e93503fac23615e38e7f0256741794b
Detailed 3-phase plan for NIP-60 Cashu wallets + NWC integration: Phase 1: Foundation (2-3 weeks) - Command system and parser - WalletViewer component - WalletService with NIP-60 operations - Helper functions for NIP-60/61 - Cashu library integration Phase 2: Rich Rendering (1-2 weeks) - Event renderers for all wallet kinds (17375, 7375, 9321, 10019, 7376) - MintBadge and BalanceDisplay components - DLEQ verification UI - Mint health indicators Phase 3: NWC Integration (2-3 weeks) - NWCClient service (NIP-47) - Lightning payment UI - Invoice generation - Unified wallet interface (Cashu + Lightning) Includes: - Complete file structure - Code examples for all components - Security considerations - Testing strategy - Risk assessment - Success criteria Extensible architecture for future enhancements.
Grimoire
A Nostr protocol explorer and developer tool with a tiling window manager interface.
Features
- Tiling Windows - Each window is a Nostr "app" (profile viewer, event feed, NIP docs, etc.)
- Command Palette - Unix-style commands via
Cmd+Kto open apps and navigate - Multi-workspace - Virtual desktops with independent layouts
- Real-time - Reactive event subscriptions with automatic updates
Stack
React 19, TypeScript, Vite, TailwindCSS, Jotai, Dexie, Applesauce
Getting Started
npm install
npm run dev
Scripts
| Command | Description |
|---|---|
npm run dev |
Start dev server |
npm run build |
Build for production |
npm test |
Run tests in watch mode |
npm run lint |
Lint code |
npm run format |
Format code |
License
MIT
Languages
TypeScript
98.9%
CSS
0.8%
JavaScript
0.3%