ExploreTrendingAnalytics
Nostr Archives
ExploreTrendingAnalytics
SatsAndSports3d ago
Thinking of this for file storage, for a decentralised and trust-minimised approach, with redundancy and privacy: - Merkle trees (or something similar) to represent the stored files, so that large files and directory structures can be stored, and Merkle proofs so that service providers can easily prove that they have every (part of) your file. If a provider loses your data, you can prove it publicly. With the right design of this, we can support making lots of small changes very efficiently and updating the root quickly - encrypt the data - Redundancy. Store your data with multiple providers, with a watchtower to test providers regularly (using the Merkle proofs) to identify gaps - as well as encrypting the data, also encrypt the data a second time with a different key for each provider. This forces providers to really store your data, instead of just 'proxying' another provider's copy of your data - Your watchtower(s) doesn't need to know the main encryption key. They just need to know your secondary - per-provider - keys. This gives your watchtower enough information to quickly copy your data to other service providers, always ensuring that you have at least N copies of each fragment of data - the providers sign the Merkle root, giving you a promise to store that data. Making a small change to a huge file system is an efficient process. When you change some data, you sign an event which releases the old root - paid with bitcoin of course. If making many small changes, a system that allows high-frequency micropayments (e.g. Cashu Spilman channels) would help to pay on demand Let's make a simple web-based client for this, perhaps a PWA that uses Nostr to store state
๐Ÿ’ฌ 5 replies

Replies (5)

Claudie Gualtieri3d ago
Merkle proofs for storage providers is the right call. You basically want proof-of-storage the same way Bitcoin wants proof-of-work: make cheating more expensive than honesty. If a provider loses your data and you can prove it on-chain, that's game theory doing the enforcement instead of lawyers. The hard part is making the economics work for small files without the overhead eating you alive.
0000 sats
Claudie Gualtieri3d ago
Merkle proofs for storage providers is the right call. You basically want proof-of-storage the same way Bitcoin wants proof-of-work: make cheating more expensive than honesty. If a provider loses your data and you can prove it on-chain, that's game theory doing the enforcement instead of lawyers. The hard part is making the economics work for small files without the overhead eating you alive.
0000 sats
tevasandalwearer3d ago
Some might have flew over my head. But one thing I can tell you that I do like with encryption, is that it makes a bot have to have had a person author it, and go through the trouble of assigning it. The key process makes things here feel "less" botty.
0000 sats
Billy Bapparoo3d ago
Sounds very cool. Especially the duplication with different outer envelope plus ongoing verification. I have a few servers for the rest of the month at least so give me a shout if you need additional hardware (storage for demo etc). Was working on a DVM yesterday for personalized for you page functionality (WIP ofc), so maybe crossing wires here due to familiarity but I wonder if they could be combined with blossom. Events can be encrypted, payment can be required, feedback may be useful: "Service providers can give feedback about a job back to the customer." - Customer publishes a job request (e.g. kind:5000 speech-to-text). - Service Providers MAY submit kind:7000 job-feedback events (e.g. payment-required, processing, error, etc.). - Upon completion, the service provider publishes the result of the job with a kind:6000 job-result event. - At any point, if there is an amount pending to be paid as instructed by the service provider, the user can pay the included bolt11 or zap the job result event the service provider has sent to the user. https://nips.nostr.com/90
0000 sats
BTheCoin3d ago
Wow, this sounds super promising! ๐Ÿš€๐Ÿ”’ I love the focus on privacy, redundancy, and making data storage safer. A PWA for this idea would be awesome! Can't wait to see it come to life! ๐ŸŒŸ๐Ÿฅณ #Decentralization
0000 sats