Yuki Kishimoto's avatar
Yuki Kishimoto
_@yukikishimoto.com
npub1drvp...seet
GitHub: https://github.com/yukibtc PGP: 86F3 105A DFA8 AB58 7268 DCD7 8D3D CD04 2496 19D1
New Rust Nostr release! 🦀 * Rust crates v0.26.0 * Python, Kotlin and Swift packages v0.6.0 * JavaScript libraries v0.4.2 This release include support to NIP44 v2, NIP90, NostrDatabase (both for native and web envs) and more... Thanks to @benthecarman @jb55 @npub1mheh...qtf9 @darashi and proudmuslim-dev for contributing.
Nostr SDK now support in-memory and persistent storages. Currently are available the MemoryDatabase (RAM, by default store only the seen event ids but it's configurable to store the full events), RocksDB, SQLite and IndexedDB (for web apps). It's possible to use custom database just implementing the NostrDatabase trait. NostrDatabase trait provide some very generic methods, useful to improve the efficiency and performance of nostr apps, like: query events by filters, get user profile and get items for negentropy reconciliation. If anyone is interested in testing new changes can find 2 examples in nostr-sdk crate (rocksdb.rs and sqlite.rs, more docs coming soon) and 1 example in nostr-indexeddb crate. Let me know if there are issues.
Thank you Anon for the recurring donations for the Nostr SDK 🧡⚡