Fresh of the press! I just published a new package:

NDK Sqlite WASM cache adapter

* supports all the basics of an ndk cache adapter +

+ automatic unpublished event tracking

* optional decrypted event caching (so you don't need to bother your users with decrypting the same content over and over, particularly useful for NIP-60 wallets and encrypted bookmarks)

* automatically loads the required WASM

https://nostr-dev-kit.github.io/ndk-cache-sqlite-wasm/docs/INDEX.html

cc nostr:nprofile1qyxhwumn8ghj7mn0wvhxcmmvqyw8wumn8ghj7mn0wd68ytnzd96xxmmfdejhytnnda3kjctvqqs9njktmqadt322myw6eag6f8qxuzl0wv9vpe7zxkn0d73fhy3s7qsm2hcm4

Reply to this note

Please Login to reply.

Discussion

the link gives me a 404

The decrypted caching is perfect for what we need! Thanks man. Weโ€™re going to work on implementing it and if it works Iโ€™ll send the bounty. ๐Ÿป

using indexeddb or?

Yeah, serializes and persists to indexdb

why is that better than using indexed db directly?

indexdb is slow as hell; this is only using indexdb for data persistence

Thank you for sharing ๐Ÿ‘