lnbits-legend/lnbits/extensions/lnurlp
blackcoffeexbt f44bd55b4b
Corrected example CURL requests in multiple extension API docs (#689)
* Updated api docs example CURL calls for satspay server

* Updated api docs example CURL calls for copilot extension

* Updated api docs example CURL calls for jukebox extension

* Updated api docs example CURL calls for livestream extension

* Updated api docs example CURL calls for lnaddress extension

* Updated api docs example CURL calls for lnurldevices extension

* Updated api docs example CURL calls for lnurlp extension

* Updated api docs example CURL calls for offlineshop extension

* Updated api docs example CURL calls for paywall extension

* Updated api docs example CURL calls for satsdice extension

* Updated api docs example CURL calls for splitpayments extension

* Fix typo double slash in satsdice extension api docs

* Updated api docs example CURL calls for tpos extension

* Updated api docs example CURL calls for watchonly extension
2022-07-05 17:20:42 +02:00
..
static/js lnul display without refresh 2021-12-09 10:32:03 +00:00
templates/lnurlp Corrected example CURL requests in multiple extension API docs (#689) 2022-07-05 17:20:42 +02:00
__init__.py Chore, applied black 2021-11-26 05:58:20 +00:00
config.json Put extensions back so we can start converting 2021-08-20 12:44:03 +01:00
crud.py move fiat_base_multiplier multiplication into api_link_create_or_update() (#675) 2022-06-22 12:28:40 +02:00
lnurl.py lnurlp: do not divide twice (#669) 2022-06-15 12:48:13 +02:00
migrations.py store fiat_base_multiplier in db 2022-06-10 16:05:33 +02:00
models.py fiat_base_multiplier also in rate conversion 2022-06-10 16:08:29 +02:00
README.md Put extensions back so we can start converting 2021-08-20 12:44:03 +01:00
tasks.py I want them to turn black 2021-10-17 18:33:29 +01:00
views.py fix require admin key endpoints 2021-10-20 12:03:11 +01:00
views_api.py move fiat_base_multiplier multiplication into api_link_create_or_update() (#675) 2022-06-22 12:28:40 +02: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