Kwil
Search…
⌃K

Introduction

Kwil

Kwil is a social media and data management solution built on top of the Arweave permaweb. By utilizing a myriad of other blockchain technologies, Kwil Social and Kwil DB provide a novel architecture for managing both social graphs, as well as decentralized relational database systems.

Kwil DB

Kwil DB is a database solution that utilizes blockchain technology to enable the creation, management, and utilization of a decentralized relational database. By utilizing a variety of synchronization and storage methods, Kwil provides a familiar framework on which developers can build and manage complex relational database systems. With native support for queries, prepared statements, transactions, WebSocket connections, and multi-extension filesystem support, Kwil DB is a batteries-included solution for any developer who seeks to build on a decentralized database.

Architecture

A Kwil DB is a network of inter-connected nodes that operate their own self-contained "data moat". At its core, a data moat is simply a collection of blocks, existing inside Arweave bundles and organized chronologically. Using these blocks, any node can reconstruct the current state of a data moat, verifying all past queries, transactions, and file-writes. By constantly scanning a block index for new data writes, as well as listening to peer nodes operating the same data moat, Kwil nodes are able to maintain database state synchronization, with laggards being only a couple seconds behind their peers.

Guides: Jump right in

Trying to build on a Kwil DB? Interested in running a node? Non-technical looking for more information? You'll find it below!
Last modified 4mo ago