Yes, what I mean is the where and how of the implementation. I'll share my thoughts on how I was planning to do it and how it could work for this use case. My perspective shifted when I created the transparent OAI proxy https://github.com/gzuuus/transparent-oai-api . With that proxy, I could connect to PPQ, intercept all requests and responses, mainly for debugging purposes. However, that concept could also be used to integrate a cashu wallet into the proxy, enabling automatic payments when necessary. A local piece of software that expose the same API of the provider, acting as a smart proxy to manage payments and top-ups using NWC. This way, the user centralizes their connection with providers and interacts with them using the localhost endpoint.

I have more ideas about this, but simply the system is already pluggable to Goose. It would be as easy as configuring the endpoint in its configuration. Its also more portable. You can also write it in any language

Reply to this note

Please Login to reply.

Discussion

BTW this is a good idea if someone wants to materialize it, I've heard that there is a nwc hackathon 👀 I wish I have more time

nostr:nevent1qqsrru4scz7s69wnq6dnqka27v57mmrnqqucarwtc8jp72z7fnqf7ycppemhxue69uhkummn9ekx7mp0qgsypwwgtll74lqu4huvxzjwtjyxvrlkujt35rw8y026ke6ttesmg5grqsqqqqqp7fl794

Some NWC idea for nostr:nprofile1qqstdhxam7rxw5586xjwscsdj24fqhp93kzsh7xvjg7nnhc7mlh9aeczqf2t4 hackathon 👀

nostr:nevent1qvzqqqqqqypzqs9eep0ll6hurjkl3sc2fewgses07mjfwxsdcu3at2m8fd0xrdz3qqsrru4scz7s69wnq6dnqka27v57mmrnqqucarwtc8jp72z7fnqf7ycuncp8s