Lightning HTLCs can be atomically linked to Ecash HTLCs!

That means Lightning nodes can help each other receive funds even if they don't have any channels or inbound liquidity! User don't need to trust each other as long as both trust the same Chaumian Mint.

Soon™️ in Cashu

https://void.cat/d/XFR2RqV6rrTBZWFksaUMf9.webp

https://void.cat/d/59p5WB2vxwJvAtgHRwNekY.webp

Reply to this note

Please Login to reply.

Discussion

This is awesome

💡

But that’s not the mechanical point.

Awesome nonetheless.

🤌🏻

🧡✊💜

I don't know what this means, but it sounds really cool

Tomorrow's to do list just got a "check how to run a mint" entry added to it

🥜

🤯

🥜💥

Anywhere to look at to understand how that's supposed to work? Thanks!

I think the lightning nodes exchange ecash instead of constructing an HTLC. HTLC is the smart contract that lives inside a lightning channel for each payment that is in-transit over that channel. Normally these HTLCs get built in each channel along the payment route and then they are deleted in a cascade backwards from recipient to sender as each node settles the transaction with it's peers.

So you can route a lightning payment over a virtual channel that hooks right into the trustless smart contract layer that makes lightning routing work. But the trick is this virtual channel uses trusted cryptographic bearer contracts that are settled later, a.k.a. ecash.

Good explanation! Cashu HTLCs act very similarly to LN HTLCs so they can be hooked to one another

🥼 🩻

Do they expire like in LN?

ye its an htlc

🤯

absolute madman

Nice throughput. Keep up the good work!