nip_append_only_list 0.1.1
nip_append_only_list: ^0.1.1 copied to clipboard
Local-first Dart implementation of the Nostr append-only lists NIP (kinds 1990/1991) on top of NDK.
0.1.1 #
- Remove subscription
name.
0.1.0 #
Initial release.
- Pure OR-Set CRDT core:
AppendOnlyListEntry,EntryStat,AppendOnlyListEvent,AppendOnlyListState(parse and fold kinds 1990/1991). - Event builder/parser with NIP-44 self-encryption for private entries.
Filterhelpers (listFilter,deletionFilter) for relay queries.- Sembast-backed cleartext
ProjectionStorefor offline reads that survive restarts. AppendOnlyListsusecase wiring an injectedNdk,OfflineBroadcastqueue, andProjectionStore:getList,watchList,add,remove,consolidate,decryptPending.consolidatesplits both the fresh Add(s) and the NIP-09 deletion(s) into chunks that fit undermaxEventBytes(default 32 KB) so relays don't reject oversized events on lists with many entries or long history.- NIP-09 deletions emitted by other devices of the same author are honored on incoming sync (tombstone set + cache trim + re-fold).
- Persistent decryption cache (third sembast store): cleartext NIP-44 payloads are written to disk keyed by event id, so re-folding works without the signer once a private event has been decoded once.