You can add the plugin by copying it to CLN's plugin directory or by adding the following line to your config file:
plugin=/path/to/cln-zapper
This plugin only handles the zap note. You will also need an lnurl server to create invoice like https://github.com/elsirion/clnurl. I would recommend setting that up first.
This guide can be followed for more details on how to set up: https://github.com/TheFockinFury/Non-Custodial-Nostr-Zaps-CLN
cln-zapper
exposes the following config options that can be included in CLN's config file or as command line flags:
clnzapper_nostr_nsec
: The nostr private key used to sign zapper notesclnzapper_nostr_relay
: The default nostr relay to publish to
Code is under the BSD 3-Clause License
All contributions welcome.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, shall be licensed as above, without any additional terms or conditions.
I can be contacted for comments or questions on nostr at [email protected] (npub1qjgcmlpkeyl8mdkvp4s0xls4ytcux6my606tgfx9xttut907h0zs76lgjw) or via email [email protected].