Oddbean new post about | logout
 Ok I've built this for fun and it's incredible. 

A Cashu gateway: it's a normal Cashu user who has a Lightning node (or another Lightning payment backend). Everyone can act like a gateway as long as the mint supports ecash HTLCs (NUT-15).

If you as a Cashu user know of such a gateway, your wallet can send your Lightning payment request to it instead of to the mint. 

The gateway responds with an amount (it can take a fee). If you agree, you send it ecash, and it pays your Lightning invoice. The process is atomic.

What does that mean? Let's think a little ahead and imagine this was deployed on a significant scale. 

Even if the mint is full KYC for peg-in and peg-outs, a user could still make Lightning payments anonymously with the help of other users.

(!!! this alone would be huge !!!)

This would also enable us to make on-chain-only mints which opens up a whole new way of building mints (reserves could be in a multisig for example).

Crazy part: Gateways can be lazy and use custodial Lightning backends. The user doesn't care as long as the invoice gets paid.

Yes. That means you could use your Strike or Blink or LNbits account to act as a Gateway for a Cashu mint you like. 

There could be many of crazy people like you. Nobody would ever know. Neither the mint. nor your LN service provider would notice. They all just see invoices.

It gets weirder. Gateways could use *another Cashu mint* as an LN backend. I know sounds like an inception nut but bare with me.

A user of mint M1 can ask a gateway of mint M1 to pay an invoice. The gateway could pay the invoice via mint M2 and receive ecash from M1 in return.

I always thought "you could run a mint for a thousand users on a Strike or a Blink backend without them even noticing the smallest thing". 

Now I think you could probably run a mint for 100k users without them noticing, if there are other gateways handling payments for everyone.

Note: this is still experimental. Only paying works right now over the gateway, not receiving (more complicated).

The bast part though is that it doesn't require any Cashu protocol changes and the mints don't have to give you permission to do this. 

It's all pretty nuts.

nostr:note142qdxj9dnp9nsmsuet9vw5pgtgtwj4e7vxv5qa0wvk8vdqy76cdqw3d5kr  
 I've been looking after the kids since 6am. What have you done? 

 I can't get my fucking opnsense firewall to work and here you are, inventing shit on the weekend.

GFY and GM to you, sir 
 exactly. jerk 
 Nutception 🤯 

Still processing … 
 gonna take a minute to crack that nut 
 sort of like a Cashu Portal gun
🕳️ …🔫  
combined with trampoline and multi-path at the ln layer 👍👍 
     🌰 … 🕳️ 
 Please never stop building. Love your shit. 
 Pretty nuts 🥜 
 > Even if the mint is full KYC for peg-in and peg-outs, a user could still make Lightning payments anonymously with the help of other users.

Wouldnt the payment recipients also be KYCd? Why would they become gateways and not get banned from the mint? 
 You can't get banned from a mint (if they allow crash transactions without accounts). 
 I mean banned from being able to transact with a mint via lightning 
 👏 
 At a time when runes are driving up fees to insane levels, I’m grateful for your work on e-cash. Thank you! 
 Thank you for your kind words! Have you noticed any other alternative solutions to combat rising fees in the crypto world? #ecash #cryptocurrency #innovation 
 Nuts 
 That’s nuts 
 Wau! I am not sure I understand but it sounds amazing!😄 
 Cashu will eat the entire World (anonymously co 😅)
nostr:nevent1qqs249h2pa80w33y6ajnuaug9tuw9hmv3m0unuzxmep4g7wzx989zmgpzemhxue69uhhyetvv9ujuurjd9kkzmpwdejhgq3q2rv5lskctqxxs2c8rf2zlzc7xx3qpvzs3w4etgemauy9thegr43sxpqqqqqqzyp9g3m 
 🥜^🥜

It's nuts all the way down.

nostr:nevent1qqs249h2pa80w33y6ajnuaug9tuw9hmv3m0unuzxmep4g7wzx989zmgpvemhxue69uhkv6tvw3jhytnwdaehgu3wwa5kuef0dec82c33vdhrvdesvcmrvvmwxd4hxvpjdfhxumrnwejr27fc8pax5mn9veunsve5xdukkctcwvmhjvmw0faxket5wfehy6nhwsuxz0mzwfhkzerrv9ehg0t5wf6k2q3q2rv5lskctqxxs2c8rf2zlzc7xx3qpvzs3w4etgemauy9thegr43sxpqqqqqqzxksssw 
 Ok this looks insanely awesome


nostr:nevent1qqs249h2pa80w33y6ajnuaug9tuw9hmv3m0unuzxmep4g7wzx989zmgpz3mhxue69uhhyetvv9ujuerpd46hxtnfdupzq5xeflpdskqvdq4swxj59793uvdzqzc9pzatjk3nhmcg2h0js8trqvzqqqqqqy34e7ak 
 Finally can run a mint without fucking around with running a LN node.

nostr:nevent1qqs249h2pa80w33y6ajnuaug9tuw9hmv3m0unuzxmep4g7wzx989zmgpz3mhxue69uhkummnw3ezummcw3ezuer9wcpzq5xeflpdskqvdq4swxj59793uvdzqzc9pzatjk3nhmcg2h0js8trqvzqqqqqqyv3ugjg 
 @nick Cashu is ready for secp256k1-FUN 
 would be a shame if someone federated onchain funds 👀 
 Legend. GM, and thank you for dedicating your time to building bitcoin. ☕ 
 Awesome!! Each time I see things like this I like more #cashu !! I think is the right wat  
 First time in my life I'm saying this... 
You crazy mother fucker!  
 You must be mistaken. I've heard many prominent shitcoiners and nocoiners both explain to me in great detail that development for bitcoin is dead. 
 Could this be easily packaged with pheonixd? 
 This is nutastic 🧡🤝 
 whilst I don't understand all the tech, I get the concept. congrats and thank you. 

I am sure I speak for many that don't understand half of what you devs do and we often stay quiet in case we look ignorant. We are all hugely appreciative. and we are trying to learn 🙃 keep up the great work, we are with you, even if you don't hear us. 
 my god man what have you done? haha nice thinking. 
 It's a cool idea, but wouldn't the KYCd example just incur a lot of risk. Most likely they also will ask after a few too many tx what the person is up to if it's out of the norm many. I don't think anybody would run that under their real name just to be accused of money laundering. 

This gateway would of course also be trust based right? I could accept somebodys ecash and then not pay out with my node and say good luck buddy, basically.