🧪 Blockchain Blockchain Security Simulation
Simulate a real 51% attack: race an attacker's private chain against the honest network using the Poisson block-arrival model, watch double-spend attempts succeed or fail, and compare the empirical success rate against Nakamoto's exact catch-up formula.
This simulation demonstrates the security vulnerabilities and mitigation strategies associated with blockchain technology by modelling the exact mechanism of a 51% attack: an attacker with a chosen share of network hash power secretly mines a private chain from the same fork as a transaction, racing the honest network to build a longer chain before the merchant's required confirmations pass. Two rows of blocks race forward in real time — driven by an authentic Poisson block-arrival process rather than a scripted animation — while live readouts track chain lengths, the honest network's lead, and both the empirical win rate from repeated Monte Carlo trials and the exact theoretical probability from Nakamoto's original double-spend formula, so you can see directly how raising the confirmation count defends against attackers below 50% hash power, and why it can never fully defend against one above it.
This simulation demonstrates the security vulnerabilities and mitigation strategies associated with blockchain technology. Users will learn about attacks like 51% attacks and how to protect their networks.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install