aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/nwc.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-02 12:32:14 -0700
committerAdam Soltys <[email protected]>2026-08-02 12:32:14 -0700
commit1fdaa920d7530ac2073ca50280d9531935446c7a (patch)
tree8eab1180f0e828a917821cb865498ec8f853667f /src/features/nwc.js
parent3205acf157b7f1cfb857a383f374ef4d739d82cc (diff)
downloadcoinosv3-1fdaa920d7530ac2073ca50280d9531935446c7a.tar.gz
coinosv3-1fdaa920d7530ac2073ca50280d9531935446c7a.zip
Rebrand: hal → coinos v3
The app already presents as Coinos; this finishes the job in the repo: package name, README, GitHub link, code comments, and the stale locale lines that still explained the old "Hal Wallet" name (they fall back to the English tribute line). Kept: the hal-nwc-pouch IndexedDB name (an upgrade-compat identifier), the halwallet.app domain in the BIP-353 names feature (live infrastructure), and the Hal Finney tribute itself. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Wvj4aoeMZwA7VUGdJP9Swi
Diffstat (limited to 'src/features/nwc.js')
-rw-r--r--src/features/nwc.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/features/nwc.js b/src/features/nwc.js
index e7511c1..ffdabda 100644
--- a/src/features/nwc.js
+++ b/src/features/nwc.js
@@ -1,12 +1,12 @@
-// Nostr Wallet Connect (NIP-47) — hal as a *wallet service*.
+// Nostr Wallet Connect (NIP-47) — coinos as a *wallet service*.
//
-// Other apps (Damus, Amethyst, Alby, a website) connect to your hal wallet
+// Other apps (Damus, Amethyst, Alby, a website) connect to your coinos wallet
// over nostr and can ask it to pay invoices or report a balance, without ever
-// touching your keys. You hand out a connection string; hal answers requests
+// touching your keys. You hand out a connection string; coinos answers requests
// signed by that connection, inside the budget you set, and you can revoke it
// at any time.
//
-// hal holds no native Lightning balance, so every Lightning operation here
+// coinos holds no native Lightning balance, so every Lightning operation here
// runs over Ark: the ASP pays and mints invoices. That means NWC
// availability tracks Ark availability — no Ark server, no wallet service.
//
@@ -545,7 +545,7 @@ export function nwcFeature(ctx) {
// ---- background wake-ups ----------------------------------------------
// The notifier can't decrypt anything; it only learns which service pubkeys
// to watch. When a request arrives it pushes, the service worker surfaces
- // it (or nudges an open window), and hal answers from the relay.
+ // it (or nudges an open window), and coinos answers from the relay.
const NOTIFIER = 'https://nwcpush.coinos.io';
const b64ToBytes = (b64) => {