All blockchains use LevelDB / RocksDB under the hood
How Blockchains Store Data
Bitcoin, Ethereum, Solana, Cosmos, Sui, Aptos — they all use similar key-value databases. The difference is the data structure on top and how it shapes their capabilities.
core-insight.ts
// All blockchains use KV databases under the hood// The MAGIC is in what structure sits on topBitcoin: DB[hash(tx)] → Merkle binary treeEthereum: DB[hash(trie_node)] → 16-way Patricia TrieSubstrate: DB[hash(pallet+name)] → Composed Key TrieCosmos: DB[hash(iavl_node)] → Versioned AVL TreeSolana: DB[pubkey] → FLAT — no tree!Sui: DB[object_id] → Sparse Merkle Tree
Storage Models
●
Composed Key Trie
pallet + storage + key = composed trie path. Modular namespacing.
◊
Verkle Trees (future)
Polynomial commitments. Proofs 100× smaller. Stateless clients.
All Blockchains
Click any chain to see its storage structure in detail
Learning Path
01
Start with Bitcoin
Understand UTXO and Merkle trees — the simplest model. No global state, just unspent outputs.
02
Deep Dive: Ethereum MPT
Learn the Merkle Patricia Trie — how keccak256(address) becomes a trie path. Interactive key builder.
03
Compare Everything
See how all storage models stack up — proof size, write cost, parallelism, and more.