Invoiceless Lightning Payments with Circular Route

Zoltán Gálli
May 24, 2019 · 3 min read

Lightning Network payments require the payee first issue an invoice, which the payer uses to send money to it. While in commercial usage this is a useful property, in some other cases this can be cumbersome. There are some ongoing developments toward Invoiceless payments — for example Sphinx send — I’d like to present another approach.

Image for post
Image for post

The basic idea is simple: take the money to the target node, overpay the necessary forwarding fee, and bring small change back. So the receiver does not need to bother with invoice issuing. And this method works with all current Lightning Node implementation, no update required on the receiving side.

By saying Invoiceless I mean the recipient does not need to issue an invoice. Instead, the sender generates one and technically pays to itself, inserting the payee in the payment route for the fees. The invoice generation is an automatic step on the sender side. And the focus is shifting from paying an invoice to paying a forwarding fee to the target node.

Rene Pickhardt explains this method in his video

Downsides

This method is a dirty hack with a number of downsides:

Implementation as a c-lightning plugin

I’ve implemented this feature as a c-lightning plugin. After the plugin activated, someone can easily send Invoiceless payments by typing:

lightning-cli sendinvoiceless <nodeid> <msatoshi>

And thanks to Michael Schmoock’s excellent work, it is also possible to check the received Invoiceless payments:

lightning-cli receivedinvoiceless

You can find more information about the sendinvoiceless plugin in the GitHub repository.


Thanks for reading! If you liked it, follow me on Medium or Twitter, or open a channel to my Lightning Network Node! Feedback, comments, and suggestions are welcome!

Image for post
Image for post

Get Best Software Deals Directly In Your Inbox

Image for post
Image for post

Coinmonks

Coinmonks is a non-profit Crypto educational publication.

Sign up for Coinmonks

By Coinmonks

A newsletter that brings you week's best crypto and blockchain stories and trending news directly in your inbox, by CoinCodeCap.com Take a look

By signing up, you will create a Medium account if you don’t already have one. Review our Privacy Policy for more information about our privacy practices.

Check your inbox
Medium sent you an email at to complete your subscription.

Zoltán Gálli

Written by

Roman Catholic | Husband | Father | Geek | https://zoltan.xyz/ PGP Fingerprint: 116D 19B0 5C58 5B6D

Coinmonks

Coinmonks

Coinmonks is a non-profit Crypto educational publication. Follow us on Twitter @coinmonks Our other project — https://coincodecap.com

Zoltán Gálli

Written by

Roman Catholic | Husband | Father | Geek | https://zoltan.xyz/ PGP Fingerprint: 116D 19B0 5C58 5B6D

Coinmonks

Coinmonks

Coinmonks is a non-profit Crypto educational publication. Follow us on Twitter @coinmonks Our other project — https://coincodecap.com

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store