Nostr (Events) Database
Events database trait for nostr apps.
Nostr Database Trait
This library contains the NostrDatabase and NostrDatabaseExt traits. You can use the default backends or implement your one (like PostgreSQL, ...).
Default backends
- Memory (RAM, both native and web), available at
nostr-memory - LMDB (native), available at
nostr-lmdb - SQLite (both native and web), available at
nostr-sqlite - nostrdb (native), available at
nostr-ndb
Crate Feature Flags
The following crate feature flags are available:
| Feature | Default | Description |
|---|---|---|
flatbuf |
No | Enable flatbuffers de/serialization for nostr events |
Changelog
All notable changes to this library are documented in the CHANGELOG.md.
State
This library is in an ALPHA state, things that are implemented generally work but the API will change in breaking ways.
Donations
Nostr Dev Kit is free and open-source. This means we do not earn any revenue by selling it. Instead, we rely on your financial support. If you actively use any of the libs/software/services, then please donate.
License
This project is distributed under the MIT software license - see the LICENSE file for details