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 6.1.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 6.1.0
File Size Uploaded
cryptodb-6.1.0.tar.gz 88.1 kB Details

Built distributions (wheels)

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

Total release size: 3.1 MB

Release files / cryptodb-6.1.0.tar.gz

Download URL cryptodb-6.1.0.tar.gz
Size 88.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b3cf50e37efded264ae6e2f44cb4bac7545c0dfbf5729d2e55e5fa49ab6b13d7
BLAKE2b-256 checksum
How to use checksums
0007fd74338a929c980d0a97364d4c2b8cf5ad00ac48b13650f58f79bc6f4aa1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.16

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

Download URL cryptodb-6.1.0-py3-none-any.whl
Size 95.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b845e74bb0bc4337e37a6cdc0eeb1b96b0c929b5c071b4a1d7406514c43a1d4e
BLAKE2b-256 checksum
How to use checksums
ef6b65416a71ef447545f4ececc94eea66cd2533c173abb87972afba87f768c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.16

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

Download URL cryptodb-6.1.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
16da698a21abb189e84575b8c79ce51ca15bebe4172f63e4b153e9b1d46a0ced
BLAKE2b-256 checksum
How to use checksums
2afcd120237649124c178e1f84d4d16bd283e1a83d3a40106aacd2a3f11b1a61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.7

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

Download URL cryptodb-6.1.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
231aa4994f5ffdba93016fe17c42275be8804eb5d6a660ea1b8364d413f0b30f
BLAKE2b-256 checksum
How to use checksums
6f6f9f6e0a6c0650d5a0f31c5f21683a09eed789162ab5e65a92e75bd38e657f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.7

Release history Release notifications | RSS feed

9.0.2

4 release files

9.0.1

4 release files

9.0.0

4 release files

8.8.9

4 release files

8.8.8

4 release files

8.0.0

4 release files

7.2.0

4 release files

7.0.0

2 release files

This release

6.1.0 This release

4 release files

6.0.0

4 release files

5.0.1

4 release files

5.0.0

4 release files

4.3.2

4 release files

4.3.0

4 release files

4.2.0

4 release files

4.1.1

4 release files

4.1.0

4 release files

4.0.0

4 release files

3.3.1

4 release files

3.3.0

4 release files

3.2.2

4 release files

3.2.1

4 release files

3.2.0

4 release files

3.1.0

4 release files

3.0.0

4 release files

2.8.6

4 release files

2.8.4

4 release files

2.8.3

2 release files

2.8.2

4 release files

2.8.1

4 release files

2.8.0

4 release files

2.7.2

4 release files

2.7.1

4 release files

2.7.0

4 release files

2.6.3

4 release files

2.6.2

4 release files

2.6.1

4 release files

2.6.0

4 release files

2.5.2

4 release files

2.5.1

4 release files

2.5.0

4 release files

2.4.68

3 release files

2.4.3

4 release files

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