lightning-decoder icon indicating copy to clipboard operation
lightning-decoder copied to clipboard

feature: Add fallback scheme support (LUD-01)

Open Danswar opened this issue 5 months ago • 2 comments

Adding support for Fallback scheme as per LNURL documentation. Currently lightning-decoder does not support this kind of urls, this PR aims to fix that for the input and the camera reader.

Please note that this standard is widely used in the wild, like for example: SPAR Supermarkets in Switzerland, it would be nice if you can consider this PR.

https://cointelegraph.com/news/spar-store-zug-switzerland-bitcoin-payments-lightning-network https://youtu.be/Qu5VE2JhF54?si=_3DOgKGa7dpm7ArS

Examples of new supported strings/QR codes:

https://app.dfx.swiss/pl/?lightning=LNURL1DP68GURN8GHJ7CTSDYHXGENC9EEHW6TNWVHHVVF0D3H82UNVWQHHQMZLVFJK2ERYVG6RZCMYX33RVEPEV5YEJ9WT

image

Other references https://github.com/SamSamskies/lnurlpay/pull/36

Danswar avatar Jul 16 '25 12:07 Danswar

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lightning-decoder ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 16, 2025 0:55am

vercel[bot] avatar Jul 16 '25 12:07 vercel[bot]

Thank you Daniel This update is really needed! 🙏

TaprootFreak avatar Jul 16 '25 12:07 TaprootFreak