TLDR below.
Conclusion: We have proposed an incentive system for decentralized file hosting without relying on trust or heavy-weight cryptography. Client and server perform an atomic swap of coins for files using an optimistic protocol. The server responds with a file that is allegedly encrypted correctly. The client buys the decryption key with a Lightning payment, and if the file doesn’t decrypt correctly, the client can financially punish the server for cheating, which is a strong incentive for servers to act honestly. Currently, implementing the bond contract requires workarounds such as using the Liquid sidechain, however, reactivating OP CAT would be sufficient to implement BitStream directly on Bitcoin.
Decent write-up and research, though I’d prefer to interact with it first. Quite a controversial take on Nostr…
Introduction: Decentralized file hosting networks lack a well-aligned incentive system. Currently, paid servers for platforms like Nostr often underestimate their operating costs when charging a monthly payment for storing a user’s data. Users can split their payment into daily or weekly increments if they don’t trust the servers, but this strategy doesn’t resolve the economic challenges servers face. Users are paying to upload their data, so servers are not paid per download. If a server fulfills too many download requests from various users, then the server can become overwhelmed from the bandwidth costs outweighing their earnings. In the context of video hosting, where the traditional revenue model may falter, BitStream’s protocol presents a sustainable alternative. For instance, a single user might upload a video once, incurring a one-time cost, but if that video becomes popular and is downloaded 100,000 times, the server’s bandwidth costs could skyrocket beyond the initial upload revenue. BitStream’s pay-to-download approach offers a solution: it allows the server to charge for each download, ensuring that the revenue scales with the popularity and demand for the media, creating a balanced and profitable ecosystem.
Firstly Nostr isn’t a platform and secondly, there’s nothing stopping this pay to download functionality being added to Nostr. In fact I gather there are NIPs in draft to implement this. New protocols require network effects. Do we need to reinvent the wheel to achieve the same goal? I’m not convinced..
What stops clients from ganging up and punishing the server?
Also, why would it be desirable for this to exist as a layer-1 based system?
reply
Why not just store your encrypted data in IPFS for free—or in encoded YouTube videos, encrypted git repositories, etc? I guess if you want to store massive files, a paid distributed network could be more reliable… if you are trying to use it for a business, IPFS is a pretty great solution that just requires some cloud hosted pinning. Interesting research but not sure how much it would be used in practice.
reply
Here's an awesome video demo & walkthrough from @calle. Who has incorporated Bitstream with Cashu: https://video.nostr.build/1bb1603219587b9bdebc9625ac08bfb9e3b2cccee6482d9989bb79c327e0bf41.mp4
reply
I was thinking of doing something similar, with nostr as gossip, where simple nostr events would allow to find who has/wants what in the most anonymous way possible, then data exchange is done by direct encrypted connections. It's still in draft in my head for now.
There is also a 5M sat bounty for a nostr based file sharing platform here: https://bountsr.org/p2p-filesharing/
reply
That's what I call productive.
reply
You're still trusting someone with your files thought right?
reply
you're trusting SN right now with 'your' sats
reply
reply