Actually nip33 with my own key-value API that could be added to nostr-tools if #[4] wants it https://github.com/irislib/iris-messenger/blob/master/src/js/lib/nostr-tools/path.ts
Discussion
Encrypted writes not working yet, because it's encrypting the path name which is always different because of the random component. I wonder if we can safely make the encryption output deterministic.
I'm outlining `path.list('reactions', { authors: [someUser] })` in the code but it isn't there yet, that would require a new nip or change to nip33 to allow wildcard tag searches like filters: { '#d': 'reactions/*' }