Skip to content

feat: gateway-hosted Nostr DM channel from config - #50

Merged
melvincarvalho merged 1 commit into
gh-pagesfrom
issue-44-nostr-channel
Jun 11, 2026
Merged

melvincarvalho merged 1 commit into
gh-pagesfrom
issue-44-nostr-channel

Conversation

@melvincarvalho

Copy link
Copy Markdown
Contributor

First half of #44. channels.nostr in jsclaw.json (privateKey as ${ENV_VAR} ref, mandatory allowed npub list unless open: true, optional relays/agentId) makes jsclaw gateway answer encrypted NIP-04 DMs via the existing zero-dep channel — npub in the boot banner, one session per peer, clean disconnect on shutdown. Tests 129/129 (wiring only; channel itself already covered by nostr.test.js against the BIP340 vectors). Telegram (zero-dep rewrite) stays open on #44.

channels.nostr in jsclaw.json lights up the built-in NIP-04 channel
inside 'jsclaw gateway': allowlisted npubs DM the configured agent
(default main), replies return as encrypted DMs, one session per
peer. npub printed in the boot banner; allowed list required unless
open: true. Telegram half of #44 remains.
@melvincarvalho
melvincarvalho merged commit ca5793b into gh-pages Jun 11, 2026
@melvincarvalho
melvincarvalho deleted the issue-44-nostr-channel branch June 11, 2026 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant