aboutsummaryrefslogtreecommitdiffstats
path: root/src/features
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
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')
-rw-r--r--src/features/messages.js6
-rw-r--r--src/features/nwc.js10
2 files changed, 8 insertions, 8 deletions
diff --git a/src/features/messages.js b/src/features/messages.js
index 3843b36..0914755 100644
--- a/src/features/messages.js
+++ b/src/features/messages.js
@@ -1,7 +1,7 @@
// Messages — encrypted community chat over the Concord protocol (CORD-01..04),
// the successor to Marmot/White Noise for Discord-shaped rooms on nostr.
//
-// hal ships with one built-in community: "coinos". Its join material (below)
+// coinos ships with one built-in community: "coinos". Its join material (below)
// includes the community_root, so holding the app is holding membership —
// relays only ever see kind-1059 wraps signed by derived stream keys. The
// community was founded by Adam's npub, which makes him owner (position 0)
@@ -10,7 +10,7 @@
// Messages are signed by the session's nostr login identity when a signer is
// live (extension, or a pasted key before reload), else by the wallet's
// NIP-06 key — both only ever *sign* the seal; all encryption happens under
-// stream keys hal already holds, so remote signers need no nip44 round-trips.
+// stream keys the app already holds, so remote signers need no nip44 round-trips.
import { subscribeOn, publishOn, fetchNostrProfile, npubOf } from '../nostr.js';
import {
@@ -22,7 +22,7 @@ import { t } from '../i18n.js';
// Genesis output of tools/concord-genesis.js — the coinos community's join
// material (CORD-02 §8). The community_root here is deliberately public-ish:
-// every hal user is meant to be a member of the default community.
+// every coinos user is meant to be a member of the default community.
const COMMUNITY = {
community_id: 'b517fb4ba04c4c4eac2bd486ee800d1a8644fcdca5c5643098062e7733ee4986',
owner: '98ae4da926c471c23fd12d1ebdd5839ba82917baa618e184e0c9916d93dcf4f7',
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) => {