nostr-cln-events

cln plugin that publishes events to nostr
git clone git://jb55.com/nostr-cln-events
Log | Files | Refs | README | LICENSE

commit 766ceadcc2408c3b4b16cfa28cdeb5f78ca18366
parent 67a9c793a9fc6132c1bd955a68d83cd8abd12677
Author: William Casarin <jb55@jb55.com>
Date:   Thu, 17 Nov 2022 21:43:43 -0800

actually add notify key option

Diffstat:
MREADME.md | 3++-
Mnostr-events.js | 1+
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md @@ -5,6 +5,7 @@ Publish node events to nostr ## Settings ``` -nostr-key=<your-hex-key> +nostr-key=<your-node-hex-secret-key> nostr-relay=<your-relay> +nostr-notify-key=<your-pubkey-to-be-notified-on-important-events> ``` diff --git a/nostr-events.js b/nostr-events.js @@ -280,6 +280,7 @@ EVENTS.map((ev) => { plugin.addOption('nostr-relay', 'ws://127.0.0.1:8080', 'nostr relay to send events to', 'string') plugin.addOption('nostr-key', 'hexstr of a 32byte key', 'nostr secret key', 'string') +plugin.addOption('nostr-notify-key', 'pubkey to be notified for important events', 'nostr notify pubkey', 'string') plugin.addOption('nostr-events', 'all', 'List of events to broadcast. (Default: broadcast everything)', 'string') plugin.start()