Why Nostr? What is Njump?
2023-06-09 12:58:30
in reply to

darosior [ARCHIVE] on Nostr: πŸ“… Original date posted:2020-02-02 πŸ“ Original message: Hi Pavol, > 1) Is ...

πŸ“… Original date posted:2020-02-02
πŸ“ Original message:
Hi Pavol,

> 1) Is c-lightning going to support Sphinx or other form of spontaneous payments?

I think cdecker is working on integrating keysend to his noise plugin (https://github.com/lightningd/plugins/pull/68).

> 2) Can a lightning node (such as lnd or c-lightning) send a push notification (e.g. to a webhook) when it receives or routes a payment? If yes, is this notification cryptographically signed (for example with the node's private key)? Is this documented somewhere?

C-lightning sends notifications (and hooks, but it doesn't seem to be your usecase here) for typical events such as "I received an HTLC !". You can make a plugin which registers to these lightningd notifications sends encrypted push notifs. Doc here https://lightning.readthedocs.io/PLUGINS.html#event-notifications :-).

Darosior

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
Le dimanche, fΓ©vrier 2, 2020 1:39 PM, Pavol Rusnak via Lightning-dev <lightning-dev at lists.linuxfoundation.org> a Γ©critΒ :

> Hi all!
>

> I have a couple of unrelated questions, hope you can give me some pointers.
>

> 1) Is c-lightning going to support Sphinx or other form of spontaneous payments?
>

> 2) Can a lightning node (such as lnd or c-lightning) send a push notification (e.g. to a webhook) when it receives or routes a payment? If yes, is this notification cryptographically signed (for example with the node's private key)? Is this documented somewhere?
>

> Thanks!
>

> --
> Best Regards / S pozdravom,
>

> Pavol "stick" Rusnak
> CTO, SatoshiLabs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20200202/49a4ac78/attachment.html>;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 477 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20200202/49a4ac78/attachment.sig>;
Author Public Key
npub1pj9022f74rzq7d5x7gnxje6wpsgk4r5jgeck8y5awd423ydhan3q7x22xp