Open dpad85 opened 2 years ago
Dev notes:
This gets translated into a URL: https://比特幣.組織.香港/.well-known/lnurlp/username
If you paste ^this^ into a browser, it will work, and properly download the JSON. (Obviously need to replace "username" with a valid username in their system.) But it won't work in something like curl
. Nor will it work in Kotlin.
This is because the domain needs to be converted to punycode: https://xn--zvt121a27e.xn--uc0atv.xn--j6w193g/.well-known/lnurlp/username
(Modern browsers perform the punycode conversion automatically in the background.)
Dev notes:
expect/actual
setup for performing the Punycode. And we'll need to add a built-in Xcode project, similar to the PhoenixCrypto
setup we have for lightning-kmp
.
Both the Android and iOS apps fail to read non-"standard" lightning address, for example addresses with Chinese domain names, such as:
...@比特幣.組織.香港