Oddbean new post about | logout
 Weekend project: Cashu Lightning gateway.

Needed: Cashu wallet for gateway, Lightning

Steps:
- user to gateway: yo! would you pay this LN invoice for me?
- gateway: sure, gibbs HTLC ecash
- checks if HTLC has same hash as LN invoice
- if so, pays LN
- everybody happy