lnbits-legend/lnbits/extensions/lnurlp
2021-06-04 00:29:55 -03:00
..
static/js also support all currencies in lnurlp. 2021-03-14 21:50:05 -03:00
templates/lnurlp API link fix for List Links docs (from v0 to v1) 2021-04-18 10:37:14 -03:00
__init__.py remove exception to black line-length and reformat. 2021-03-24 00:40:32 -03:00
config.json lnurlp extension. 2020-08-28 23:03:12 -03:00
crud.py remove exception to black line-length and reformat. 2021-03-24 00:40:32 -03:00
lnurl.py lnurlp: account for invalid amount in querystring. 2021-04-27 15:52:44 -03:00
migrations.py remove exception to black line-length and reformat. 2021-03-24 00:40:32 -03:00
models.py migrate to sqlalchemy-aio. 2020-11-21 23:02:14 -03:00
README.md Docs (#196) 2021-06-02 14:16:03 -03:00
tasks.py migrate to sqlalchemy-aio. 2020-11-21 23:02:14 -03:00
views_api.py lnurlp: fix success_url checking. 2021-06-04 00:29:55 -03:00
views.py migrate to sqlalchemy-aio. 2020-11-21 23:02:14 -03:00

LNURLp

Create a static QR code people can use to pay over Lightning Network

LNURL is a range of lightning-network standards that allow us to use lightning-network differently. An LNURL-pay is a link that wallets use to fetch an invoice from a server on-demand. The link or QR code is fixed, but each time it is read by a compatible wallet a new invoice is issued by the service and sent to the wallet.

Wallets supporting LNURL

Usage

  1. Create an LNURLp (New Pay link)
    create lnurlp

    • select your wallets
    • make a small description
    • enter amount
    • if Fixed amount is unchecked you'll have the option to configure a Max and Min amount
    • you can set the currency to something different than sats. For example if you choose EUR, the satoshi amount will be calculated when a user scans the LNURLp
    • You can ask the user to send a comment that will be sent along with the payment (for example a comment to a blog post)
    • Webhook URL allows to call an URL when the LNURLp is paid
    • Success mesage, will send a message back to the user after a successful payment, for example a thank you note
    • Success URL, will send back a clickable link to the user. Access to some hidden content, or a download link
  2. Use the shareable link or view the LNURLp you just created
    LNURLp

    • you can now open your LNURLp and copy the LNURL, get the shareable link or print it
      view lnurlp