Skip to main content

13 posts tagged with "architecture"

View All Tags

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.

When NOT to Use a Blockchain: A Decision Framework for Enterprise Architects

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

Most blockchain content tells you why you should use blockchain. This article tells you when you shouldn't — and why that honesty matters more for your project's success than any feature comparison.

I've worked with teams building exchanges, DeFi protocols, and enterprise blockchain systems for over 5 years. The most expensive mistake I've seen isn't choosing the wrong platform. It's choosing blockchain when a database would have sufficed.

Here's a practical decision framework that will save you months of wasted engineering and hundreds of thousands in unnecessary infrastructure costs.

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.