NEDB — a versioned, self-compressing, time-traveling embedded database (replay-protected, idempotent, relational, searchable) with durable AOF persistence and a server daemon (nedbd).
Project description
CryptoDB
The database that can prove it never lied.
CryptoDB is a content-addressed, hash-chained, time-traveling datastore. Every version of every record is an immutable, BLAKE2b-verified object in a Merkle DAG — nothing is ever overwritten, and the store can prove its own integrity on demand.
If your data is evidence — ledgers, audit trails, provenance, anything you may one day have to defend — CryptoDB makes the history itself tamper-evident and replayable.
Why CryptoDB
- 🔒 Tamper-evident by construction.
verify()re-hashes every object against its content address. Flip a single byte on disk and it's caught — silently impossible to forge history. - ⏪ Time-travel is a query.
AS OF <seq>returns the exact state at any point.VALID AS OF <time>adds bi-temporal validity — what was true, as of when. - 🧬 Causal provenance.
caused_bylinks every record to the facts that produced it;TRACEwalks the graph. Audit why, not just what. - 🔐 Encrypted at rest (AES-256-GCM), RESP2 wire protocol, SQL / Redis / Mongo adapters, a
nedbd-v2server daemon.
Install
npm install cryptodb # Node (native addon)
pip install cryptodb # Python
cargo add cryptodb # Rust
Reach for it when
Audit logs · financial & token ledgers · compliance trails · supply-chain provenance · anything where provable, replayable history is the product, not a nice-to-have.
import { NedbCore } from "cryptodb";
const db = new NedbCore();
db.put("ledger", "acct:alice", JSON.stringify({ balance: 100 }));
db.put("ledger", "acct:alice", JSON.stringify({ balance: 250 }));
db.getAsOf("ledger", "acct:alice", 0n); // → balance 100, the past, intact
db.verify(); // → true: nothing was tampered
CryptoDB is a distribution of the NEDB engine, tuned for verifiability. Engine development happens upstream at Eth-Interchained/nedb. © Interchained LLC.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cryptodb-2.4.3.tar.gz.
File metadata
- Download URL: cryptodb-2.4.3.tar.gz
- Upload date:
- Size: 83.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a63e9bd19e18e655d05606a65ed5c5fee655c346f9f53e9497770808f847b6b8
|
|
| MD5 |
1653f8b9c8c96f96c3ddbd6e2471fa12
|
|
| BLAKE2b-256 |
7119ea29096e6341772d36b44dec86dee70be70a4b4de4d22c9c39b11a8783a0
|
File details
Details for the file cryptodb-2.4.3-py3-none-any.whl.
File metadata
- Download URL: cryptodb-2.4.3-py3-none-any.whl
- Upload date:
- Size: 87.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86f78eb592f17528854cac37e22db84d9d320d8015b99af3864b5fe9d181165a
|
|
| MD5 |
72b25766be9750bd490c896efad2a7a7
|
|
| BLAKE2b-256 |
97ed19ae075d588f79608bbfafdadffffc529d67b95803d498d9267bc4f9c69f
|
File details
Details for the file cryptodb-2.4.3-cp38-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: cryptodb-2.4.3-cp38-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.8+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3019d864f33cb0011e40b16c5858a8779161e492e509bc7fab0e2d4fd64867c1
|
|
| MD5 |
686daafb66a2d80df4935e807797e832
|
|
| BLAKE2b-256 |
d936ba2a33cec4e4d6a064bf97c9b870e28dc61d823417798421dcd505af0d5e
|
File details
Details for the file cryptodb-2.4.3-cp38-abi3-macosx_10_12_x86_64.whl.
File metadata
- Download URL: cryptodb-2.4.3-cp38-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 1.5 MB
- Tags: CPython 3.8+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e40727969508a7c2292ca37a53e716444bc2e0e1f84de4ce220fd54989c82a02
|
|
| MD5 |
5690011452fa9948d1253159435817b7
|
|
| BLAKE2b-256 |
055991802c39b59aab13af1a802d2756c4707a5f42867ecda08437aeac216e20
|