Skip to main content

4 posts tagged with "SQL"

View All Tags

SQL Blockchain: The Complete Guide to Queryable Distributed Ledgers in 2026

· 6 min read
Prasad Kumkar
Founder & CEO, ChainScore Labs

The biggest frustration with traditional enterprise blockchain platforms isn't the consensus or the cryptography. It's this: you have all your data on an immutable, cryptographically verified ledger, and you can't query it. Not with SQL. Not with aggregations. Not without building an external indexing pipeline that introduces its own sync lag, complexity, and trust assumptions.

SQL-queryable blockchains fix this. Here's everything you need to know about them — how they work, which platforms support them, and why they're the most important enterprise blockchain innovation of 2026.

SQLite as a Blockchain State Store: Architecture, Performance, and the Case for Simplicity

· 8 min read
Prasad Kumkar
Founder & CEO, ChainScore Labs

When most engineers hear "production database," they think PostgreSQL or MySQL. When they hear "SQLite," they think "development only" or "mobile apps."

This is wrong. SQLite in WAL (Write-Ahead Logging) mode is a legitimate production database — it powers every iPhone, every Android device, every Chrome and Firefox browser, and most embedded systems. It processes millions of writes per day in some of the most demanding environments on the planet.

So why shouldn't it power a blockchain's world state?

Here's the architecture, the performance characteristics, and why using SQLite for blockchain state storage is a feature, not a compromise.

Building a Supply Chain Traceability System with Blockchain and SQL Queries

· 10 min read
Prasad Kumkar
Founder & CEO, ChainScore Labs

Supply chains are a textbook blockchain use case: multiple independent organizations, each updating the status of goods as they move, with no single party trusted by everyone to maintain the system of record.

The challenge with most supply chain blockchain implementations is queryability. You can verify that a record exists, but answering "show me all shipments currently in customs that have been there for more than 48 hours" typically requires an external indexing layer.

This tutorial shows you how to build a complete supply chain traceability system where the blockchain state is directly queryable with SQL — no separate database, no sync lag, no extra infrastructure.

How to Build a SQL-Queryable Blockchain with Node.js

· 5 min read
Chainscore Labs
Blockchain Infrastructure & Developer Tooling

One of the biggest frustrations with enterprise blockchain platforms is querying data. Most blockchains treat state as an opaque key-value store — you can look up a specific key, but searching, filtering, and aggregating data requires external indexing infrastructure.

MiniLedger takes a different approach: the world state is a SQLite database. You can run standard SQL queries directly against your blockchain data, with no additional infrastructure.

Here's how it works, and how you can use it.