From 69997b1cf47470bbe098ca042b5b64ef5e8873e6 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 19 Nov 2026 21:53:03 -0700 Subject: A browser extension that signs for nostr sites without asking twice, and pays from a Coinos wallet. "I'm using Sidecar right now, and I don't like how I have to reauthorize it. It prompts me too much. I just want it to automatically sign all the time with my key" (Adam, 2026-11-19). The extension (extension/, Chrome, Manifest V3) gives every page window.nostr (NIP-07: getPublicKey, signEvent, nip04, nip44) and window.webln. A site is asked once: "Always allow" is remembered with no expiry until the site is removed in the popup, "Never for this site" blocks it, and closing the window refuses that one call. Signing and paying are separate permissions. The key is an nsec or a wallet's twelve words (NIP-06), kept in the extension's storage unencrypted so it can sign without a prompt. The wallet is the person's own Coinos wallet over Nostr Wallet Connect: the extension holds a connection string, the wallet enforces that connection's budget, and the popup shows the balance and recent payments. Build with `bun extension/build.js` and load extension/dist unpacked. New extension-test loads the built extension into Chrome with its own relay and wallet service and passes (28 checks). Co-Authored-By: Claude Fable 5.2 Claude-Session: https://claude.ai/code/session_01VMan6WFVA5qCuTtny8PRL6 --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 2f2f595..483e3c5 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,6 @@ tools/.*.tmp.js # Local runtime session store (server side, not part of the wallet build) /db/ + +# Browser extension build (rebuild with `bun extension/build.js`) +/extension/dist -- cgit v1.2.3