Jure
|
8fcabac450
|
Add zaps: NWC wallet connect + NIP-57 zap flow
- NWC client (nwc.ts): parse URI, encrypt/send kind 23194, await kind 23195 response
- Lightning store: persist NWC URI to localStorage, zap() via NDKZapper + lnPay callback
- ZapModal: amount presets (21/100/500/1000/5000 sats), custom amount, optional comment,
paying/success/error states, prompts to Settings if no wallet connected
- ⚡ zap button on NoteCard (action row) and ProfileView (header, next to follow)
- Settings > Lightning Wallet section: paste NWC URI, connect/disconnect
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-03-09 17:45:39 +01:00 |
|