Global Feed Post Login
Replying to Avatar verbiricha

Yes, both communikeys and NIP-29 groups are easier to work with. But NIP-17 DMs use gift wraps, and the ecash wallet uses NIP-44 encryption. There's a bunch of data I need to store client side for incremental sync and to avoid having lots of encrypt/decrypt ops.

The browser has key-value storage and indexed storage and I use both, but even with proper indexes and query optimizations you hit a perf wall on web once you store thousands of records. There's also the issue that durability is not guaranteed and DB might get pruned once you hit certain quotas.

Avatar
Garbage nsec 4mo ago

Bit random but do you know of any clients using NIP44 DMs? As in NIP4 with upgraded encryption but no gift wrap?

Reply to this note

Please Login to reply.

Discussion

Avatar
verbiricha 4mo ago

i didn't know that was a thing :nostopus_thinking: don't know of any clients that do this, it's either NIP-04 (majority) or NIP-17 afaik. there's also nostr:npub1g53mukxnjkcmr94fhryzkqutdz2ukq4ks0gvy5af25rgmwsl4ngq43drvk 's double ratchet DM spec https://github.com/nostr-protocol/nips/pull/1813

Thread collapsed