Here's my "path" API that I'm using for it. I'll try to make the API a little better tomorrow and add it to iris-lib, or PR to nostr-tools if #[5] wants it.
I'll change the API to simpler path.authors(array | string).get(key) and .set(key, value)
Here's my "path" API that I'm using for it. I'll try to make the API a little better tomorrow and add it to iris-lib, or PR to nostr-tools if #[5] wants it.
I'll change the API to simpler path.authors(array | string).get(key) and .set(key, value)
Oh, and I'll make encrypted paths use hash(path + secret) so it's deterministic, instead of encrypt(path) which has a random component