Skip to content

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

License

Notifications You must be signed in to change notification settings

sanjayarun07/CovenantSQL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Report Card Coverage Build Status License GoDoc follow on Twitter Join the chat at https://gitter.im/CovenantSQL/CovenantSQL

中文简介

CovenantSQL is a GDPR-compliant SQL database running on Open Internet without central coordination:

  • GDPR-compliant: Zero pain to be GDPR-compliant.
  • SQL: most SQL-92 support.
  • Decentralize: decentralize with our consensus algorithm DH-RPC & Kayak.
  • Privacy: access with granted permission and Encryption Pass.
  • Immutable: query history in CovenantSQL is immutable and trackable.

We believe On the next Internet, everyone should have a complete Data Rights

One Line Makes Data on Blockchain

sql.Open("CovenantSQL", dbURI)

CovenantSQL 3 Layer design

  • Layer 1: Global Consensus Layer (the main chain, the middle ring in the architecture diagram):
    • There will only be one main chain throughout the network.
    • Mainly responsible for database Miner and the user’s contract matching, transaction settlement, anti-cheating, shard chain lock hash and other global consensus matters.
  • Layer 2: SQL Consensus Layer (shard chain, rings on both sides):
    • Each database will have its own separate shard chain.
    • Mainly responsible for: the signature, delivery and consistency of the various Transactions of the database. The data history of the permanent traceability is mainly implemented here, and the hash lock is performed in the main chain.
  • Layer 3: Datastore Layer (database engine with SQL-92 support):
    • Each Database has its own independent distributed engine.
    • Mainly responsible for: database storage & encryption, query processing & signature, efficient indexing.

How it works

How CovenantSQL works(video)

Demos

Papers

Our team members published:

that inspired us:

Libs

Network Stack

DH-RPC := TLS - Cert + DHT

Layer Implementation
RPC net/rpc
Naming Consistent Secure DHT
Pooling Session Pool
Multiplex smux
Transport Security Enhanced TLS
Network TCP or KCP for optional later

Test Tools

Connector

CovenantSQL is still under construction and Testnet is already released, have a try.

Watch us or follow on Twitter for updates.

TestNet

Contact

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 73.2%
  • C 21.8%
  • Java 1.0%
  • Sage 1.0%
  • Assembly 0.9%
  • M4 0.8%
  • Other 1.3%