cloudflare opened sourced their rust proxy tech, seems like a solid foundation to build on top of for #lmzap. looks like a hackable nginx.

the goal for lmzap is that the api should work exactly like openai's, gated by lightning payments. I want something super reliable. this seems perfect for that.

https://blog.cloudflare.com/pingora-open-source/

Reply to this note

Please Login to reply.

Discussion

Thanks for sharing this. It sounds very interesting. E-cash can also be an option. It could be used for any service, IMO.

the more I think about it the less I think so. ecash adds complexity which is just not necessary.

the simplest thing I can think of is SHA2(nsec + "lnzap") as your deterministic, anonymous token (or any random 32 bytes of data). then you can just use that token for all requests.

Well, this looks like a similar idea to L402 and https://github.com/cashubtc/xcashu. It will come to the differences and tradeoffs. Some stuff to think about ;)

I looked at L402 for this and it doesn’t really make sense at all

When you have some text about your approach I'd love to read it.

youre making me cum!

Time to get ready for people discovering new CVEs 🤝🏻