feat: useWallet composable — NWC + Lightning Address wallet management

Client-side wallet composable with NWC auto-pay, invoice polling,
Cashu token submission, and persistent wallet state. Follows useNostr
pattern with readonly exports and localStorage persistence.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dorian
2026-03-08 01:27:36 +00:00
co-authored by Claude Opus 4.6
parent 460564a8ee
commit 131d7e587e
3 changed files with 284 additions and 0 deletions
+3
View File
@@ -23,6 +23,9 @@ importers:
kaplay:
specifier: ^3001.0.19
version: 3001.0.19
nostr-tools:
specifier: ^2.23.3
version: 2.23.3(typescript@5.9.3)
vue:
specifier: ^3.5.13
version: 3.5.29(typescript@5.9.3)