ssmithxandClaude Sonnet 5 ead3a9ae44 feat: NIP-46 remote signer via QR (Primal, or any nostrconnect-compatible app)
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>
2026-07-31 00:51:34 +00:00
S
Description
No description provided
96 KiB
Languages
Vue 48.9%
TypeScript 42%
CSS 4.4%
Dockerfile 2.4%
HTML 1.3%
Other 1%