๐ณ๏ธ Builder lab
PoW vs PoS Arena
Run a Proof-of-Work race and a Proof-of-Stake lottery side by side. Give the attacker more power and see when an attack succeeds.
๐ก
The analogy
PoW is a lottery where tickets cost electricity; PoS is a lottery where tickets are locked deposits.
โ๏ธ Proof-of-Work race
Each round, a miner wins with probability equal to its share of hash power.
๐ Proof-of-Stake lottery
Validators are picked weighted by stake. Misbehaviour gets slashed.
๐ฏ 51% attack calculator
Probability an attacker with share q of power ever catches up from z blocks behind (Bitcoin white paper ยง11).
5%30%60%
0612
๐ง What this lab teaches
- PoW picks block producers by hash power; PoS by stake.
- Slashing makes PoS cheating costly.
- More confirmations exponentially reduce reversal risk (if q < 50%).
- Above 50%, an attacker eventually wins.
๐ Go deeper
๐ This simulator runs entirely in your browser with fictional data. Never type a real seed phrase or private key into any website.