pi: handle lud-17 URI payment identifier

LNURL-W/P can also be encoded in lud-17 form instead of bech32.
https://github.com/lnurl/luds/blob/luds/17.md
e.g.
lnurlw://example.com/api/test123
lnurlp://example.com/api/test123
This commit is contained in:
f321x
2026-04-09 21:26:30 +02:00
parent 016c8b5f4c
commit ef702d74cd
8 changed files with 53 additions and 5 deletions
+3
View File
@@ -21,6 +21,9 @@ from electrum.i18n import _
_logger = get_logger(__name__)
SUPPORTED_LNURL_SCHEMES = ('lnurlp', 'lnurlw')
class LNURLError(Exception): pass
class UntrustedLNURLError(LNURLError):