<oembed><type>rich</type><version>1.0</version><title>calle wrote</title><author_name>calle (npub12r…485vg)</author_name><author_url>https://yabu.me/npub12rv5lskctqxxs2c8rf2zlzc7xx3qpvzs3w4etgemauy9thegr43sf485vg</author_url><provider_name>njump</provider_name><provider_url>https://yabu.me</provider_url><html>Ok I&#39;ve built this for fun and it&#39;s incredible. &#xA;&#xA;A Cashu gateway: it&#39;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).&#xA;&#xA;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. &#xA;&#xA;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.&#xA;&#xA;What does that mean? Let&#39;s think a little ahead and imagine this was deployed on a significant scale. &#xA;&#xA;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.&#xA;&#xA;(!!! this alone would be huge !!!)&#xA;&#xA;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).&#xA;&#xA;Crazy part: Gateways can be lazy and use custodial Lightning backends. The user doesn&#39;t care as long as the invoice gets paid.&#xA;&#xA;Yes. That means you could use your Strike or Blink or LNbits account to act as a Gateway for a Cashu mint you like. &#xA;&#xA;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.&#xA;&#xA;It gets weirder. Gateways could use *another Cashu mint* as an LN backend. I know sounds like an inception nut but bare with me.&#xA;&#xA;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.&#xA;&#xA;I always thought &#34;you could run a mint for a thousand users on a Strike or a Blink backend without them even noticing the smallest thing&#34;. &#xA;&#xA;Now I think you could probably run a mint for 100k users without them noticing, if there are other gateways handling payments for everyone.&#xA;&#xA;Note: this is still experimental. Only paying works right now over the gateway, not receiving (more complicated).&#xA;&#xA;The bast part though is that it doesn&#39;t require any Cashu protocol changes and the mints don&#39;t have to give you permission to do this. &#xA;&#xA;It&#39;s all pretty nuts.&#xA;&#xA;nostr:note142qdxj9dnp9nsmsuet9vw5pgtgtwj4e7vxv5qa0wvk8vdqy76cdqw3d5kr </html></oembed>