Found a way to do e2ee multiwriter key value store, that can be searched and replicated just as efficiently as a non-encrypted one, and synced as efficiently as an append-only log, but allows deletes and garbage collection.

Single rountrip to full sync

Log n roundtrips for partial sync

Log n proof overhead (Nostr is linear)

Authenticated ranges

Really really good.

Combined with a more pragmatic discovery and client-sever architecture, it will stay be order of magnitude more complex than Nostr, but order of magnitude simpler than p2p, so actually manageable and adds tons of features that makes it worth it.

If sovereign cloud hosting is going to be viable, we need sub-linear scaling and we will need e2ee (so relays don't worry about content they host).

None of this is going to be ready anytime soon, but it I am convinced it is worth it.

It is going to be hard to maintain the motivation and getting people to care though 😕

Reply to this note

Please Login to reply.

Discussion

Having done this for two decades, I can say the hardest part is getting developers interested in your project, let alone to contribute. Sometimes it's better to start with an existing eco system like nostr that developers like, and deliver the system then, then expand it out in the direction you want

I am 100% sure if I did Fiatjaf will fight it because it is complex, like he did with Nip26

I get your point, but just ignoring all the technical limitations (for example relays don't understand what are orphaned nodes to GC it), and even ignoring the overhead of linear size of signatures.

Ignoring all that, whatever I build using nostr events will be opaque and useless to Nostr unless they use my very code, so the excitement won't translate, rather the values of the community will reject the complexity and fight it.

The remaining upside of Nostr is basically free relays with no friction to sign in (albeit unreliable storage), but the moment someone else offer better cloud storage, you are left only with the tech debt of the choices Nostr did.

Case in point, Nosdav has ZERO reasons to support Nostr event shape, or even secp since it doesn't really run in Nostr infra, you are just trying to get Nostr devs interested this way, but I am not sure it is a bet that will pay off.

SimpleX did its thing, and still got biggest Nostr supporters attention.

Maybe you are right, and maybe there is not much money or financial gain in this space anyways, so might as well do what you want to use yourself, and don't worry if it will get devs attention.