HomeComputer ScienceBlockchain: Mining, Consensus & Chain Validation Simulator

Blockchain: Mining, Consensus & Chain Validation Simulator

Interactive blockchain simulator: mine new blocks under Proof of Work or Proof of Stake, watch hashes chain block to block, and tamper with a past block to see immutability break the chain in real time.

Computer Science3DModerate60 FPS
blockchain-advanced ↗ Open standalone

Blockchains chain data together through hashes: each block stores the hash of the block before it, so a chain of blocks becomes self-verifying — anyone can recompute every hash and confirm nothing was altered. This simulator builds that chain in real time. Click "Mine next block" to append a block, watching a simulated Proof-of-Work nonce search or a Proof-of-Stake validator selection play out depending on the chosen consensus mode, with mining difficulty controlling how much work a Proof-of-Work hash requires. Click "Tamper with a past block" to edit an already-confirmed block's data and see its hash change live — breaking the link to every block that came after it, exactly the immutability guarantee that makes rewriting blockchain history so expensive in practice.

⚙ Under the hood

Mine new blocks under Proof of Work or Proof of Stake, watch hashes chain block to block with a nonce search or validator-selection animation, and tamper with a past block to see the immutability guarantee break the chain live.

Three.jsblockchaincryptographyconsensusproof of workproof of stake

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)