youtube image
From YouTube: [Swarm Mini Summit] Deep SQL and NoSQL Blockchains for Provable Database Storage

Description

Rodney Witcher - Wolk

Wolk has developed a set of code-complete deep blockchain services: Layer 3 SQL + NoSQL chains anchored in a Layer 2 Plasma Chain, itself anchored in a Layer 1 Ethereum stack. L2 Plasma Chain has evolving states of Plasma Tokens and its child chains’ latest roots stored in Sparse Merkle Trees (SMT). NoSQL Chains have evolving state roots of keys and values stored in a SMT, wherein values are chunk hashes kept in Cloudstore. SQL Chains have evolving state roots of table root hashes and owner root hashes, wherein root hashes model all key database structures (owner, database, table, index, record chunks); SQL transactions utilize a SQLite3 Virtual Machine to execute opcode instructions that interface with a Remote Cloudstore. The Remote Cloudstore receives both chunks and minted blocks from these L3 NoSQL/SQL chains via SWARM+PSS GetChunk/SetChunk and resource update interfaces, (that, in turn, interact with SWARM, a L2 Plasma Chain, or L1 Wolk Cloudstore, see below). All chains utilize abstracted consensus interfaces (RAFT, POA) to mint blocks. Upon minting each block, the “minter” sends Anchor Transactions to the L2 Plasma Chain, wherein the L2 Plasma Blocks record usage of storage and bandwidth along with Anchor Roots to L1. Critically, each SQL and NoSQL transaction submitted to a L3 results in a “Deep Merkle Proof” wherein provenance is derived from multiple SMT proofs: (1) a NoSQL key or SQL owner/table key stored in a L3 SMT (2) a L3 block hash stored in a L2 SMT (3) a L2 block hash stored in a L1 Smart Contract. Immutability is derived from L2 and L1 and censorship-resistance supervenes on the chosen remote cloudstore. Wolk shall present a working demonstration of our L3 and L2 deep blockchains starting with a Plasma deposit on Rinkeby and share current throughput/latency results.

Rodney Witcher, Mayumi Matsumoto, Alina Chu, Michael Chung, Bruce Han, Anandarup Ray, Yaron Asher, and Sourabh Niyogi (Wolk).