lnbits-legend/lnbits/extensions/lnurlp
2023-01-10 09:45:12 +02:00
..
static Revert "Revert "shorten lnurlp endpoint URL for smaller QR codes"" 2023-01-06 11:44:22 +01:00
templates/lnurlp Merge pull request #1253 from iWarpBTC/qr_inv_pref 2022-12-30 01:04:47 +00:00
__init__.py Fixed path for extension templates 2022-07-23 20:08:59 +01:00
config.json Updated extension card layout 2023-01-01 18:14:20 +00:00
crud.py Revert "Revert "Revert "Revert "add UUID as id instead of sequential integer"""" 2023-01-06 10:22:58 +01:00
lnurl.py refactor: remove redundant # type: ignore 2023-01-10 09:45:12 +02:00
migrations.py fix migration for postgres 2023-01-06 11:13:25 +01:00
models.py refactor: remove redundant # type: ignore 2023-01-10 09:45:12 +02:00
README.md Put extensions back so we can start converting 2021-08-20 12:44:03 +01:00
tasks.py make payment.extra non-optional 2023-01-05 09:22:34 +01:00
views_api.py refactor: remove redundant # type: ignore 2023-01-10 09:45:12 +02:00
views.py Revert "Revert "shorten lnurlp endpoint URL for smaller QR codes"" 2023-01-06 11:44:22 +01: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