I agree. But I think we need a filesystem-like API for writing path-value pairs and listing directories. Something like gundb https://github.com/amark/gun#quickstart

Nostr is not going to work as a universal data layer if every list (directory) update overwrites the previous list and every new application needs to define its own event kinds that relays may need to integrate.

Reply to this note

Please Login to reply.

Discussion

Well I didn't mean that you should write all internal app state to nostr, just the high level stuff that needs interoperability and discovery. And relays usually support new event kinds out of the box, that is the whole point of them.

Would this help?

nostr:note1rcw9w5yj5chn9r7g0srvs9tn40ldquzf94z0p0c502azht2k6jxql52aav

Basically NIP 78. Apps should use 30078 for key-valye storage in tags.

https://github.com/nostr-protocol/nips/blob/master/78.md

Here is one such proposal requiring no NIP

https://github.com/nobu-maeda/n3xb

I told you humans would fuck up a good thing. Siri’s the virus and a high five. Listen it’s going sideways