# CovenantSQL/CovenantSQL

A decentralized, trusted, high performance, SQL database with blockchain features

Repository: https://github.com/CovenantSQL/CovenantSQL
Canonical: https://ross.abutalabs.com/products/covenantsql
Homepage: https://developers.covenantsql.io
Language: Go
License: Apache-2.0
License Family: permissive
Topics: database, blockchain, sql, bft, p2p, crypto, decentralized, qldb, covenantsql, cql, sql-database, dbaas
Last push: 2023-02-25T09:40:53+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3066, "days_push": 1285, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1528, forks 146 (observed 2026-08-28T04:04:58.652372+00:00)

## What it is
CovenantSQL is a decentralized, Byzantine fault tolerant SQL database built on SQLite with blockchain features like immutable query history and permission control. It runs as a low-cost DBaaS on the open internet without central coordination, offering an open-source alternative to Amazon QLDB.

## Use cases
- run a decentralized SQL database without a central authority
- get an immutable, auditable query history for compliance
- build serverless apps with a free auto-sync database service
- control data access with column-level permissions and SQL whitelisting
- make apps GDPR-compliant with encrypted, permissioned data storage
- replace Amazon QLDB with an open-source ledger database

## When to choose
- you need tamper-evident, immutable SQL query logs
- you want a decentralized database running over P2P networks
- you need fine-grained column-level access control on SQL data
- you want a self-hosted QLDB alternative

## When to avoid
- you need a general-purpose high-throughput production database
- you require mature ecosystem support and frequent updates
- you need strict SQL-92 or advanced SQL feature coverage
- you want a simple centralized hosted database

## Facets
- artifact type: service
- maturity: maintenance
- function: database, p2p, cryptography, security, cli
- domain: databases, blockchain, privacy, self-hosted, developer-tools
- platform: go, cross-platform
- tags: sql-database, blockchain-database, bft, decentralized, qldb-alternative, dbaas, sqlite, immutable-audit, linux, macos

## Member repositories
- CovenantSQL/CovenantSQL (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:58.652372+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:31:29.548000+00:00, confidence not recorded.
  - readme: https://github.com/CovenantSQL/CovenantSQL (fetched 2026-08-28T04:04:58.652372+00:00, sha 77c3e7946abd)
  - homepage: https://developers.covenantsql.io (fetched 2026-08-29T11:33:54.810447+00:00, sha 5f977485f37a)
  - site_page: https://developers.covenantsql.io/docs/en/intro (fetched 2026-08-29T11:33:54.819741+00:00, sha 88b2c9c6104b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
