nostr:npub1mxrssnzg8y9zjr6a9g6xqwhxfa23xlvmftluakxqatsrp6ez9gjssu0htc , nostr:npub1vadcfln4ugt2h9ruwsuwu5vu5am4xaka7pw6m7axy79aqyhp6u5q9knuu7 : do you know any library that can do this sort of challenge response protocol? "Proof of storage" is probably a good way to describe it, but I'm not sure.

I'd like to build something on top, but would very much prefer if the crypto primitives are already taken care of.

Reply to this note

Please Login to reply.

Discussion

I don’t know of a library, but it’s also not too difficult to roll from scratch. The only crypto primitive is the hash function, for which one could use any off-the-shelf SHA256 implementation.

I think filecoin does something similar where you more or less get paid to provide merkle inclusion proofs.

I’ve been thinking about building a “pay for file storage with lightning” system using Carbonado because it uses bao hashing under the hood so it’s already in a hash tree. That might be the way to go.

Yep would be better indeed to incentivize through real hard money rather than shitcoining even if the initial idea of a native currency for such a network could make sense at first. But as all centralized project it has been done badly and I think Bitcoin will fix it eventually. There may be a way to monetized empty disk space, as excess of energy is monetized by mining.