This was a rather simple issue: the TXT record is limited to 255 bytes so the offer is broken up to two strings.

When passing the full offer lndk-cli can decode, but cannot get an invoice (your phone didn't wake up I presume)

CLN still cannot decode the same string:

{

"code": -32602,

"message": "Invalid bolt12: unexpected prefix lno"

}

Looking forward to send you some sats from an LND + LNDK node when your phone is back online with Phoenix running.

Reply to this note

Please Login to reply.

Discussion

Correction: CLN handles it as well, just need to use the correct commands (with --enable-experimental-features configured):

lightning-cli decode lno..

lightning-cli fetchinvoice lno...

then pay with:

lightning-cli pay lni...

Sent some sats both with CLN and LND+LNDK now.

This DNS TXT entry is fun, now I have #BIP353 #BOLT12 offer on openoms@diynodes.com to test. It is a much shorter string so fits into one TXT field. Curious if it can be paid.