I've built a proof of concept. Pay for API access with ecash. Server doesn't know who you are.
- Server: a HTTP middleware with a Cashu mint and requires ecash in the HTTP header
- Client: HTTP client that puts ecash into header
It took me a couple hours. Mint and wallet are imported as libraries. It can't get simpler than this.
#[0]
