#notes #zap #lightning #plugin #sending #nostr #relay

app cln-zapper

Core Lightning plugin for sending zap (NIP-57) notes

6 releases

0.2.3 Mar 25, 2023
0.2.2 Mar 18, 2023
0.1.2 Mar 13, 2023

#7 in #zap

BSD-3-Clause

19KB
326 lines

Crates.io

Core Lightning plugin for sending zap events

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/clnurl

Options

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 notes
  • clnzapper_nostr_relay: The default nostr relay to publish to

License

Code is under the BSD 3-Clause License

Contribution

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.

Contact

I can be contacted for comments or questions on nostr at _@thesimplekid.com (npub1qjgcmlpkeyl8mdkvp4s0xls4ytcux6my606tgfx9xttut907h0zs76lgjw) or via email tsk@thesimplekid.com.

Credit

https://github.com/elsirion/clnurl

https://github.com/jb55/cln-nostr-zapper

TODO

  • multiple relays from config
  • Spawn broadcast of zap notes

Dependencies

~27–40MB
~688K SLoC