aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/index.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-02 10:09:42 -0700
committerAdam Soltys <[email protected]>2026-08-02 10:09:42 -0700
commit3205acf157b7f1cfb857a383f374ef4d739d82cc (patch)
treec61dd9e51b230106bc3134a22eef774dc1decd8c /src/features/index.js
parent6ebae6bce794c8f2db8337cb189b9095975e36ad (diff)
downloadcoinosv3-3205acf157b7f1cfb857a383f374ef4d739d82cc.tar.gz
coinosv3-3205acf157b7f1cfb857a383f374ef4d739d82cc.zip
Chat: Concord encrypted community messaging, with a default coinos room
Implements the Concord protocol (CORD-01..04) — private streams, the control-plane fold, guestbook membership, owner-rooted authority — and ships a built-in "coinos" community founded by Adam's npub (owner/admin). Messages sign with the nostr login identity when a signer is live, else the wallet's NIP-06 key; all encryption rides derived stream keys so remote signers only ever sign seals. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Wvj4aoeMZwA7VUGdJP9Swi
Diffstat (limited to 'src/features/index.js')
-rw-r--r--src/features/index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/features/index.js b/src/features/index.js
index 70f8421..6a8bb9f 100644
--- a/src/features/index.js
+++ b/src/features/index.js
@@ -11,6 +11,7 @@ import { namesFeature } from './names.js';
import { zapsFeature } from './zaps.js';
import { syncFeature } from './sync.js';
import { nwcFeature } from './nwc.js';
+import { messagesFeature } from './messages.js';
// NB order is meaningful where hooks stack: gifts' receive takeover and
// balance line come before ark's, matching the pre-plugin layout. zaps sits
@@ -20,5 +21,5 @@ import { nwcFeature } from './nwc.js';
// names sits between ark and zaps: a pasted user@domain resolves over DNS
// (BIP-353) before the zaps feature treats it as a plain Lightning address.
export function buildFeatures(ctx) {
- return [giftsFeature(ctx), arkFeature(ctx), nostrLoginFeature(ctx), namesFeature(ctx), zapsFeature(ctx), nwcFeature(ctx), syncFeature(ctx)];
+ return [giftsFeature(ctx), arkFeature(ctx), nostrLoginFeature(ctx), namesFeature(ctx), zapsFeature(ctx), nwcFeature(ctx), syncFeature(ctx), messagesFeature(ctx)];
}