computer-science

Cryptocurrency & Blockchain

The cryptographic foundations of decentralized money — blockchain mining, proof-of-work puzzles, Merkle trees, consensus algorithms, and cryptographic hash functions powering trustless networks.

cryptocurrencyblockchainBitcoinproof of workMerkle treeconsensushash functionmining

Cryptocurrency emerged from the intersection of cryptography, distributed computing, and game theory. Bitcoin's 2008 whitepaper introduced a protocol where mutually distrusting nodes could agree on a shared ledger without any central authority — solving the Byzantine generals' problem with economic incentives and computational proof.

These simulations let you mine blocks by adjusting difficulty and hash rate, solve proof-of-work puzzles interactively, build and verify Merkle trees, observe consensus algorithms reaching agreement across a network, and explore how cryptographic hash functions produce avalanche effects — all with real-time animated visualizations.

5 interactive simulations

simulator

Blockchain Mining Simulator

Mine blocks interactively — adjust hash rate, difficulty, and block size to see how miners compete to extend the blockchain

simulator

Consensus Algorithm Visualizer

Watch distributed nodes reach consensus — simulate message passing, Byzantine faults, and finality in real-time network animations

simulator

Cryptographic Hash Function Explorer

Explore cryptographic hash functions — visualize the avalanche effect, collision resistance, and bit distribution as you modify inputs character by character

simulator

Merkle Tree Builder

Build a Merkle tree from transactions — visualize hash propagation, verify inclusion proofs, and understand how blockchains compress transaction integrity

simulator

Proof-of-Work Puzzle

Solve proof-of-work puzzles interactively — watch nonce iteration, hash computation, and difficulty target comparison in real time