[Lightning-dev] Machine-to-machine LN payments

William Casarin jb55 at jb55.com
Thu May 14 17:45:23 UTC 2020


Eugene via Lightning-dev <lightning-dev at lists.linuxfoundation.org>
writes:

> Hello, list,
>
> I haven't closely following the Lightning Network's state of affairs since late 2018 and I wondering, is it possible to support the following use-case with LN:
>
> 1. A user subscribes to the service by opening a channel with it
> 2. User sets his LN node to "trust" invoices that come from said service
> 3. On subscription renewal, service sends an invoice to the client's LN node
> 4. Since the client's node is "trusting" service's node, it pays invoice straight away
>
> User, of course, may cancel the subscription at any time by removing service's LN node public key from the list of "trusted". Or the user can set a limit on the amount and the frequency of payments that would be accepted from the trusted node.
>
> For that matter, the questions are:
>
> 1. Is it possible to send invoices just by LN means? (Should we use TLVs?)
> 2. Is it possible to enable automatic machine-to-machine payments? As in the example above, by accepting invoices from "trusted" nodes.

Offers[0] should support these use cases

Cheers,
Will

[0] https://lists.linuxfoundation.org/pipermail/lightning-dev/2019-November/002276.html




More information about the Lightning-dev mailing list