mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-09 23:16:50 +02:00
1dd38412201a02efe251a82ed4c7c3732d47df50
Fix Bitcoin transaction detection to properly distinguish between Lightning and on-chain transactions by checking the invoice field. Detection logic: - Bitcoin: invoice field contains a Bitcoin address (not "ln..." invoice) - Lightning: invoice field starts with "ln" (lnbc, lntb, etc.) - Supports all Bitcoin address formats: legacy (1..., 3...), bech32 (bc1...) - Supports testnet addresses: tb1..., 2..., m/n... Display logic: - Bitcoin: Show payment_hash (or preimage) as Transaction ID - Link to mempool.space for blockchain exploration - Lightning: Show payment hash and preimage separately Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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%