βœ¨πŸ’Ž Another Cashu Gem

Paid file upload service which can't link uploads to payments (i.e. works without user accounts) concept by nostr:npub1rach342hnt3wa0qfqk0pey0exs2drcxfc0azs8eurwnee9vu64vs834atg.

"Add an ecash wallet to the backend and use the "X-Cashu" header to send payments with your file uploads!"

https://m.primal.net/Hkpi.mp4

Reply to this note

Please Login to reply.

Discussion

Built using the blossom protocol

https://github.com/hzrd149/blossom

Followed you too

wait... really? do you have a link to the source code id love to check it out

https://github.com/ebrakke/cashu-wallet/pull/2

Super rough and incomplete right now. But just wanted to get the general concept going.

that's awesome, the whole thing is less than 200 lines

did you write it just as an example or are you thinking about making it a standalone server?

Just as an example for now. I'm building out this cashu-wallet development kit and wanting to try it out in a lot of different scenarios.

I might try to spin up a more complete version of it though and really put it to the test. I just don't know much about blob storage infrastructure at scale πŸ˜…

damn, cool!

It's finally happening ⚑😏

let wait poc to improve

If this was for file hosting, couldn't the host rug you?

That's always the case for any service provider, right?

Normally you pay monthly or annually to incentivise them to keep the files on their server. How could we incorporate this incentive? The expectation that I pay once and it stays there forever is misleading.

That's really not about ecash but whether you can trust your file host. The same thing applies here.

Exactly. I think adding payments creates more incentive for the host to act honestly.

πŸ₯œπŸ”₯