ead3a9ae44a72329cc6da07baae9f183d91d5a06
Adds a second way to sign in besides a NIP-07 browser extension: generate
a nostrconnect:// URI, show it as a QR code, and resolve once a remote
signer app (Primal mobile, etc.) scans and approves it. Session persists
in localStorage so a page reload doesn't require re-scanning.
lib/nip07.ts renamed to lib/signer.ts and generalized — it now abstracts
over both signer kinds behind the same {getPublicKey, signEvent} shape,
so buildNip98Header and the rest of the app don't care which is active.
On a branch (feature/nip46-qr-signer) rather than main, since this is
explicitly experimental and easy rollback matters here.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Description
No description provided
96 KiB
Languages
Vue
48.9%
TypeScript
42%
CSS
4.4%
Dockerfile
2.4%
HTML
1.3%
Other
1%