-
Notifications
You must be signed in to change notification settings - Fork 102
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
BIP353 seems not to be implemented correctly #588
Comments
@tohrxyz I think the BIP means it should be displayed with a prefix ₿. It's not part of the address itself. Oh and for copy-pasting it should indeed add the ₿ prefix. But the BIP also says you should copy the URI, not the address - as that avoids another DNS lookup. |
I just opened a PR to the BIP repo to try and clarify the intention. IIUC Phoenix should:
|
@tohrxyz wrote:
I think you mean an LNURL address?
I think it's fine that it could be either, apps just have to pick the "best" option. My own opinion: #589. If the address is given with a ₿ prefix then the app knows for sure it needs to interpret is as bip353, as you say. But bip353 request apps to also work without the ₿ prefix, in which case it has to choose. |
Yeah, I mixed a few things in a rush to post this.
That's interesting approach, might make sense to work with underlying code by default and let human-readable address be for when people are saying that to each other by speech or some different low-bandwidth method. |
Thank you for reporting this issue. We did miss a few things when implementing BIP353. In addition to the problems mentioned above, Phoenix could not handle BIP21 URI with a Regarding what should be copied, when hitting "Copy" on the offer screen, the app will let you pick what you want to copy. On Android: The fix should be available in version 2.3.4, released soon. Do not hesitate to reopen this issue if needed. |
I was reading about BIP353 today and found written here, where it says the new standard of encoding payment instructions according to BIP353 should use
In order to somewhat reduce the incidence of such confusion, a ₿ prefix is used.
.From this I understand that BIP353 encoded addresses should use
₿
as prefix, because this can lead to incompatibility with other wallets.Phoenix currently generates only
user@domain.com
address, not₿user@domain.com
, which when copied and pasted for example to Wallet of Satoshi, that app recognizes it as familiar thing - lightning BOLT11 address, tries to parse it but fails.In my opinion, if it had used ₿ prefix, devs of other wallets could see this as something different and it wouldn't cause confusion, because now when someone looks at it, they don't know if it's BIP353 DNS-based instruction or regular BOLT11 lightning address.
The text was updated successfully, but these errors were encountered: