Skip to main content

crypto-database

The database that can prove it never lied.

PyPI npm crates.io Python licence free under $1M

One version across npm · PyPI · crates.io — every release ships aligned.


crypto-database 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 — crypto-database makes the history itself tamper-evident and replayable.

Why crypto-database

  • 🔒 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_by links every record to the facts that produced it; TRACE walks the graph. Audit why, not just what.
  • 🔐 Encrypted at rest (AES-256-GCM), RESP2 wire protocol, SQL / Redis / Mongo adapters, a nedbd-v2 server daemon.

Install

npm install crypto-database   # Node (native addon)
pip install cryptodb          # Python  ← note the PyPI name
cargo add crypto-database     # Rust

Why the split name? crypto-database was already taken on PyPI by an unrelated project, so the Python distribution keeps the original cryptodb name there. npm and crates.io publish as crypto-database. Same engine, same version, same code — only the registry labels differ.

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 "crypto-database";
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

crypto-database (previously CryptoDB) is a distribution of the NEDB engine, tuned for verifiability. Engine development happens upstream at Eth-Interchained/nedb. © Interchained LLC.

Metadata

Release files for cryptodb 16.19.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cryptodb 16.19.0
File Size Uploaded Provenance Actions
cryptodb-16.19.0.tar.gz 88.1 kB Without provenance Details for cryptodb-16.19.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for cryptodb 16.19.0
File Interpreter ABI Platform Actions
cryptodb-16.19.0-py3-none-any.whl Python 3 none any Details for cryptodb-16.19.0-py3-none-any.whl
cryptodb-16.19.0-cp38-abi3-macosx_11_0_arm64.whl CPython 3.8 abi3 macOS 11.0+ ARM64 Details for cryptodb-16.19.0-cp38-abi3-macosx_11_0_arm64.whl
cryptodb-16.19.0-cp38-abi3-macosx_10_12_x86_64.whl CPython 3.8 abi3 macOS 10.12+ x86-64 Details for cryptodb-16.19.0-cp38-abi3-macosx_10_12_x86_64.whl

Total release size: 3.1 MB

Release files / cryptodb-16.19.0.tar.gz

Download URL cryptodb-16.19.0.tar.gz
Size 88.1 kB
Tags Source
SHA-256 checksum
How to use checksums
652a4b1c3776dbaf53b9eab6bf0523ffb729224d3392dc3e7a3213ffa2183722
BLAKE2b-256 checksum
How to use checksums
bca738716777af106df44d8fb7d00101eff371aeceb8295f409cee7429cdb369
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Release files / cryptodb-16.19.0-py3-none-any.whl

Download URL cryptodb-16.19.0-py3-none-any.whl
Size 96.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
35839f216e3a7a615f76d278b972952d063dd93686da5a6a81dc6e7267656c58
BLAKE2b-256 checksum
How to use checksums
c0fb3bc14b1c8dc6de08da106f9d78ab272747215d026ebaeba0e5e86f8bbbb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Release files / cryptodb-16.19.0-cp38-abi3-macosx_11_0_arm64.whl

Download URL cryptodb-16.19.0-cp38-abi3-macosx_11_0_arm64.whl
Size 1.4 MB
Tags CPython 3.8 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
07cb0bd7b401aeb0bd5e6b69cf46657315abab48a97ff8f3d8e8df81cd29fcd1
BLAKE2b-256 checksum
How to use checksums
9090e0fc5d7a569041a7e4125b3c86bd587a2619f01e9e18f24c64f3da3a82c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.7

Release files / cryptodb-16.19.0-cp38-abi3-macosx_10_12_x86_64.whl

Download URL cryptodb-16.19.0-cp38-abi3-macosx_10_12_x86_64.whl
Size 1.5 MB
Tags CPython 3.8 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
27fcbdc364d5bb443cb91c105f198510c1c6293c0332fd41ffca0ad21456dc93
BLAKE2b-256 checksum
How to use checksums
84c123050412ddba03aa561aa1f9413b18741e331b3ef4fb54d64df93b9e53a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.7

Security for cryptodb 16.19.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

16.19.0 This release

4 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page