Avatar
lnproxy
e25a8b2051022a08f97d267d4b99ddfc500a0bfe149a5f671e46f72e9ea36ec9
A simple lightning privacy tool. https://simplex.chat/contact#/?v=1-4&smp=smp%3A%2F%2FUkMFNAXLXeAAe0beCa4w6X_zp18PwxSaSjY17BKUGXQ%3D%40smp12.simplex.im%2F_58pkdyvJRFpXcXCUf2U5ul70UQKe97T%23%2F%3Fv%3D1-2%26dh%3DMCowBQYDK2VuAyEASSPeBUbI370XzaUEHTpMp_xBYBa9EmZGWuTGuIM7pSQ%253D%26srv%3Die42b5weq7zdkghocs3mgxdjeuycheeqqmksntj57rmejagmg4eor5yd.onion

The biggest limitation of using lnproxy as a tool to receive payments to your own node privately, was the fact that the relay would learn your node id.

If you run LND, the issue is now solved: the latest version of lnproxy supports blinded paths. Try it today.

https://github.com/lnproxy/lnproxy-relay/commit/f5670e7dc23ff95e37453a39985b80983c2b9ca6

It's not about merging anything unfortunately. Bolt12 is incredibly complex and no one has an implementation for LND, I'm sure if someone else did the implementation work, lightninglabs would merge it. What people are upset about is that lightning labs is not implementing it fast enough.

LND merged blinded paths, but afaik doesn't pay bolt12 offers yet

Blinded paths are the solution to lightning receiver privacy, but today many wallets can't pay bolt12 offers or bolt11 invoices with blinded paths.

If you're running lnd you can use `lncli addinvoice 1000 --blind` then wrap the invoice with lnproxy and get a private invoice that any wallet can pay.

I need to figure out lndk to make this possible for bolt12 offers too..

Some clients parse this note and just show you a little bolt11 pay button, but if were using gossip, you would see a bizzarely long invoice string.

nostr:nevent1qqsqqqqqdmm7nzj6sumltgkuflqf9qf4z67za0rfu5fqhmnmsgn5wwcpzamhxue69uhky6t5vdhkjmn9wgh8xmmrd9skctcpz4mhxue69uhkg6t5w3hjuur4vghhyetvv9uszyrhwden5te0v5hxummn9ekx7mp0eyt3wl

Makes sense, Iexepct only the latest LND can decode these.

Though, it should be possible to make some kind of little tool to transform these into something CLN can understand..

If you run lnd you and you're on the latest version you can now have pretty good receiver privacy with:

lncli addinvoice --blind

* also lnproxy now supports wrapping bolt 11 invoices with blinded paths

If you run an lnproxy relay please shut it down ASAP (two SIGINTs with Ctrl-C) and wait for an update.

Replying to Avatar fiatjaf

Where is the code? I got dissatisfied with relayer and forked it to https://github.com/fiatjaf/khatru, then I wrote an LMDB and a Badger backend, but I have no idea if I did a good job.

This is awesome

Replying to Avatar fiatjaf

Where is the code? I got dissatisfied with relayer and forked it to https://github.com/fiatjaf/khatru, then I wrote an LMDB and a Badger backend, but I have no idea if I did a good job.

Very cool, going to have too look into this today.

The code is a mess right now, decided to improve the tag indexing last night and haven't gotten it back to a working state yet, but here are the benchmarks: https://gist.github.com/lnproxy/7ac00c17c9b414962d47483461f11f5d