Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strip ₿ prefix from lightning address #1097

Merged
merged 1 commit into from
Oct 7, 2024
Merged

Conversation

JssDWt
Copy link
Contributor

@JssDWt JssDWt commented Oct 7, 2024

BIP-353 contains instructions on how to pay users with static internet identifiers. The displayed address will have a ₿ prefix . Probably wallets will reuse the same address for both BIP-353 and lnurl. Currently, however, hte SDK's lnurl parsing doesn't allow a ₿ prefix due to the specifications in LUD-16.

This PR strips the ₿ prefix from a lightning address, to ensure lnurl identifiers with BIP-353 compatibility can be parsed.

@JssDWt JssDWt merged commit 23c25fa into main Oct 7, 2024
9 checks passed
@JssDWt JssDWt deleted the jssdwt-strip-bitcoin-prefix branch October 14, 2024 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants