mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-11 07:56:50 +02:00
838d4b094607c430ccc261145983ed2636abbb88
Improve NIP-60 wallet viewer UX: - Replace auto-decrypt with manual "Unlock Wallet" button: * Gives users control over when to decrypt sensitive data * Prevents automatic decryption on page load * Shows clear "locked" state until user clicks unlock - Add comprehensive wallet metadata display after unlock: * Wallet name and description * Unit (sat, usd, etc.) * Configured mints with full URLs * Configured relays * Wallet private key (truncated for security) * Warning about keeping private key secure - Enhance decryption error handling: * Add "Retry" button when decryption fails * Show loading state with spinner during decryption * Display detailed error messages * Console logging for debugging - Improve status indicators: * Clear locked/unlocked visual states * "Decrypting..." message with spinner * Better error display with retry option * Event count status grid This provides users with full visibility into their wallet configuration after unlocking, including all mints, relays, and the wallet private key used for Cashu operations.
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%