No description
  • Python 53.3%
  • Vue 36.1%
  • JavaScript 9.7%
  • Makefile 0.9%
Find a file
calle bb69239663
Merge pull request #2 from bitkarrot/lnaddr
Lightning address support
2023-03-15 12:22:23 +01:00
static add ln address to qr code 2023-03-14 16:36:11 -07:00
templates/lnurlp add spacer for lnaddress 2023-03-14 16:46:11 -07:00
__init__.py remove trailing slashes for redirect 2023-03-06 23:24:13 -08:00
config.json Add files via upload 2023-02-16 10:03:33 +00:00
crud.py fix missing username 2023-03-15 00:45:22 +01:00
LICENSE add license 2023-02-24 18:13:40 +01:00
lnurl.py show comment extra only when present 2023-03-15 00:26:06 +01:00
manifest.json Update manifest.json 2023-03-06 23:33:59 -08:00
migrations.py fix migrations 2023-03-15 00:07:00 +01:00
models.py lnaddress works 2023-03-14 15:05:52 +01:00
README.md last changed at Mar 6, 2023 4:49 PM, pushed by Bitkarrot 2023-03-07 00:51:28 +00:00
tasks.py Add files via upload 2023-02-16 10:03:33 +00:00
views.py Add files via upload 2023-02-16 10:03:33 +00:00
views_api.py clean types 2023-03-14 15:10:57 +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
  3. Optional - add Lightning Address

    • attach a username to your lnurlp to create a lightning address
    • the LN address format will be username@lnbits-domain-name
    • Find out more about the lightning address spec at lightningaddress.com