mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-11 07:56:50 +02:00
378696371b9e2b4c23da72d0a076a7e90f29c1b2
Transform WalletViewer from connection manager to full-featured wallet: **Tab-based Interface:** - Overview: Balance display with quick action buttons - Transactions: Payment history with incoming/outgoing indicators - Send: Pay Lightning invoices (BOLT11) with optional amounts - Receive: Generate Lightning invoices with amount and description - Manage: Wallet connection management (previous functionality) **Features:** - Real-time balance updates for active wallet - Transaction list with type, amount, description, and timestamps - Send payments with invoice validation and success feedback - Generate invoices with copy-to-clipboard functionality - Empty states for no wallet/transactions - Loading and error states for all operations - Responsive design with proper spacing and typography **UX Improvements:** - Tabbed navigation with icons - Large balance display on overview - Color-coded transaction types (green=incoming, red=outgoing) - Copy invoice button with toast notification - "Generate new invoice" reset flow - Disabled state for buttons during operations This provides a complete Lightning wallet experience within Grimoire, ready for integration with zaps and other payment features.
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%