๐Ÿ—ณ๏ธ 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.