@chainvue/v402-storage-sqlite
v0.3.0
Published
SQLite (WAL) implementation of the v402 storage interface — Drizzle schema, embedded migrations, BEGIN IMMEDIATE write transactions, append-only ledger.
Readme
@chainvue/v402-storage-sqlite
SQLite implementation of the v402 storage
interface (@chainvue/v402-storage):
Drizzle schema, embedded migrations (applied at construction — no separate
migration step), WAL mode, BEGIN IMMEDIATE write transactions, append-only
ledger. Built on better-sqlite3.
npm install @chainvue/v402-storage-sqliteimport { SqliteStorage } from "@chainvue/v402-storage-sqlite";
const storage = new SqliteStorage({ path: "/data/v402.sqlite" });Note: better-sqlite3 is a native module — container builds need matching
prebuilds or a build toolchain (see the repo's
docker/ for a working
multi-stage build).
License
Apache-2.0
