You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: pay lud-17 lnurlp links on the phone and the watch #2190
LUD-17 links (lnurlp://host/path) cannot be paid, on the phone or the watch.
Phone: it strips the lnurlp: scheme and hands //host/path to bitkit-core decode, which doesn't read it.
Watch (feat: add wear payments and the self-send guard #2182): it turns the link into https://host/path, as LUD-17 says. bitkit-core decode doesn't read a plain https:// LNURL-pay URL either. A watch emulator run at c9ca8d108 showed "Invalid invoice", with [PaymentsRepo] Failed to read a payment input: Invalid.
The bech32 forms (lnurl1…, lightning:lnurl1…, lnurlp:lnurl1…) work.
Proposal
Have bitkit-core decode an LNURL from its https:// URL (or from lnurlp:// directly), or resolve the LUD-17 URL in the apps before decode.
Done when
An lnurlp:// link from a real LNURL-pay service opens the send flow with its range on the phone and on the watch, with a unit test on each side.
Activity