Claude c79de772e4 Add NIP-60 Cashu Wallet reference documentation
Added comprehensive reference documentation for NIP-60 (Cashu Wallets) and its implementation in the applesauce library.

## NIP-60 Cashu Wallet Reference

Created `.claude/skills/nostr/references/nip-60-cashu-wallet.md`:

### Protocol Coverage
- Complete NIP-60 specification with all event kinds
- Event kind 17375 (wallet config)
- Event kind 7375 (unspent tokens)
- Event kind 7376 (transaction history)
- Event kind 7374 (pending quotes)

### Wallet Operations
- Creating wallets with encrypted private keys
- Minting (deposit Bitcoin → receive ecash)
- Sending (transfer ecash with state transitions)
- Receiving (accept and swap tokens)
- Melting (withdraw ecash → get Bitcoin)
- Wallet recovery from relays

### applesauce-wallet Implementation
- Architecture overview and usage patterns
- ActionHub integration with wallet actions
- React hooks for wallet components
- Event encryption with NIP-44
- Reactive updates with RxJS observables

### Security Best Practices
- Wallet private key management (separate from Nostr key)
- NIP-44 encryption for sensitive data
- Proof validation against mints
- State transition atomicity
- Multi-relay synchronization

### Code Examples
- Fetching and decrypting wallet config
- Managing token events and proofs
- Creating transaction history events
- Complete send flow with state transitions
- Balance calculation and proof selection

### Use Cases
- NIP-61 Nutzaps (Cashu Lightning zaps)
- Cross-application wallet portability
- Ecash savings for privacy
- Merchant payment acceptance

## Documentation Updates

Updated `.claude/skills/nostr/README.md`:
- Added NIP-60 Cashu Wallet reference to documentation list
- Linked to comprehensive wallet operations guide
- Included applesauce-wallet implementation details

## Key Insights

NIP-60 enables:
 Relay-based Cashu wallet storage for cross-app access
 Privacy-preserving ecash with blind signatures
 Instant value transfer without Lightning routing
 No account or KYC requirements
 Seamless integration with Nostr ecosystem

The applesauce library (used by noStrudel) provides a work-in-progress implementation of NIP-60, enabling web clients to offer full Cashu wallet functionality.

## Resources Referenced

- NIP-60 specification: github.com/nostr-protocol/nips/blob/master/60.md
- applesauce docs: hzrd149.github.io/applesauce/
- Cashu protocol: cashu.space
- cashu-ts library: github.com/cashubtc/cashu-ts
2026-01-15 12:18:12 +00:00
2025-12-18 15:46:02 +01:00
👶
2025-12-09 16:26:31 +01:00
2025-12-19 12:49:29 +01:00
2025-12-13 15:06:05 +01:00
2025-12-10 13:00:39 +01:00
2025-12-22 20:40:16 +00:00
2025-12-20 14:25:40 +01:00
2026-01-14 19:24:37 +01:00
👶
2025-12-09 16:26:31 +01:00
👶
2025-12-09 16:26:31 +01:00
👶
2025-12-09 16:26:31 +01:00
👶
2025-12-09 16:26:31 +01:00
2025-12-14 16:50:16 +01:00

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+K to 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

Description
No description provided
Readme MIT 14 MiB
Languages
TypeScript 98.9%
CSS 0.8%
JavaScript 0.3%