Can a CLN node with only unannounced/private channels get paid via BOLT12 offer? I tried using invoicerequest but every wallet I try to pay the bolt12 string says 'no routes'. Can I specify route hints in the offer somehow?
pull down to refresh
pull down to refresh
Can a CLN node with only unannounced/private channels get paid via BOLT12 offer? I tried using invoicerequest but every wallet I try to pay the bolt12 string says 'no routes'. Can I specify route hints in the offer somehow?
Yes, CLN supports blinded paths in bolt12 offers and invoices. They are normally only used when the node has no public channels (and really needs these.) I noticed some interoperability problems with them recently, at least with LDK - still trying to get to the bottom of it, but blinded paths are generated when needed and it works between Core Lightning nodes for sure. Because of the strong privacy guarantees debugging blinded paths issues is much trickier than with standard invoices and payments.
Edit: you should be able to use
lightning-cli decodeon either the offer or the invoice to see which paths or route hints were included.Thanks for the info!
lightning-cli decode lno1...bolt12just shows info about the offerlightning-cli fetchinvoice lno1...bolt12 1000gets a 1sat invoice from the offerlightning-cli decode lni1...invoiceshows the blinded paths (route hints) for the invoice generated from the offerI guess I'm experiencing the interoperability problems you mentioned. I don't have another CLN node to test payments at the moment. All the wallets I've tried must be using LDK for BOLT12.
I am curious about CLN developemnt status too, is there some easy backup setting now like SBC? What about some fee automation software? And something similar to lightning terminal to create custodial accounts into your node?
i believe the CLBOSS plug-in can do fee automation, although i havent tried it. and you can use LNBits with CLN to create sub accounts on the node. not sure about the backups.
I second CLBOSS. It's not perfect, but it manages your liquidity pretty well and gets you plenty of usable inbound. There's also a much simpler fee adjuster plugin if you just want to keep established channels balanced.
https://github.com/lightningd/plugins
https://github.com/jb55/awesome-core-lightning