Wild.io
Crypto Foundations
Course contents
How Crypto WorksBeginner4 min read

Consensus: Proof of Work vs Proof of Stake

Two ways a network of strangers agrees on one true ledger: burning energy to earn the right to write, or locking up coins as collateral.

Consensus is how thousands of computers that don't trust each other settle on one version of the ledger. Proof of work makes block writers spend real electricity to earn the right; proof of stake makes them lock up coins that get destroyed if they cheat. Both work by making dishonesty cost more than it pays.

Why is this hard at all? Because on an open network, anyone can join, including liars. Without a cost attached to writing history, an attacker could spin up a million fake identities and outvote everyone. Consensus mechanisms attach a real-world price to a vote, which turns 'one identity, one vote' into 'one unit of skin in the game, one vote'.

Proof of work: pay in electricity

Bitcoin's 2008 whitepaper introduced proof of work for money. Miners compete to solve a number-guessing puzzle that has no shortcut; the only strategy is trying trillions of guesses per second. The winner adds the next block and collects newly issued coins plus fees. The puzzle itself is deliberately useless. Its purpose is proof: whoever solved it demonstrably burned real electricity to do so.

Now price an attack. To rewrite recent history, you'd need to out-guess the entire honest network combined, the famous '51 percent' threshold. That means acquiring warehouse-scale hardware and paying industrial power bills, likely running into billions for a top chain, just to attempt a rewrite. And if you succeed, confidence in the coin collapses, cratering the value of the very thing you attacked. You paid real money for the ability to devalue your own prize. History backs the logic: no top chain's consensus has been overpowered this way, though some small networks with cheaply rentable hash power have been.

Proof of stake: pay in collateral

Proof of stake swaps electricity for deposits. Validators lock up, or stake, a chunk of coins as collateral. The protocol randomly selects validators to propose and confirm blocks, weighted by stake. Honest work earns rewards. Provable cheating triggers 'slashing': the protocol destroys part or all of the offender's locked coins automatically, no court required.

The attack math changes shape but not conclusion. To control the ledger you'd need to buy a huge share of all staked coins, and buying that much drives the price up against you. Then, the moment you attack, the protocol slashes your stake and the market dumps the coin, torching your collateral from two directions at once. Proof of work makes attacks expensive to attempt; proof of stake makes them expensive to survive.

Ethereum, the second-largest cryptocurrency, ran this switch live in September 2022 in an event called the Merge, moving from mining to staking and cutting its energy use by over 99 percent. Bitcoin has stayed with proof of work, valuing its longer, battle-tested track record.

The trade-offs are real on both sides. Proof of work's energy appetite is its most criticized feature and, defenders argue, its security budget. Proof of stake is dramatically lighter but younger, and critics note that big stakers earn more stake, which can concentrate influence over time. Neither camp is lying; they're pricing security differently.

Mistakes and marketing to watch for

Beginners commonly treat consensus as trivia, then get surprised by its practical fallout. Fee and speed differences between chains trace back to these designs. So do staking ads. A 'staking reward' pays you in a coin whose price can fall faster than the yield accrues, and staked coins are often locked exactly when you'd most want to sell. Another mistake is assuming one mechanism is simply 'better': each trades energy, capital, and complexity differently.

Proof of work

Proof of stake

What a vote costs

Electricity and hardware burned on the puzzle

Coins locked as slashable collateral

What an attack costs

Out-guessing the whole network, likely billions for a top chain

Buying a huge stake, then losing it to slashing

Flagship chain

Bitcoin

Ethereum, since the 2022 Merge

Main criticism

Energy appetite

Younger record; big stakers earn more stake

Both answer one question: who writes the next page, and what does lying cost them? Neither changes your daily routine much, but it explains fees, speeds, and staking offers.

Frequently asked questions

What is a 51 percent attack and why doesn't it happen to Bitcoin?

A 51 percent attack means out-guessing the entire honest mining network combined to rewrite recent history. Doing that requires warehouse-scale hardware and industrial power bills, likely running into billions for a top chain. Even a successful attack collapses confidence in the coin, devaluing the attacker's own prize. No top chain's consensus has been overpowered this way, though some small networks with cheaply rentable hash power have been.

What is slashing in proof of stake?

Slashing is the automatic penalty proof-of-stake networks use against cheaters. Validators lock up coins as collateral, and if a validator provably cheats, the protocol destroys part or all of those locked coins automatically, with no court required. Combined with the market dumping the coin after an attack, slashing makes attacks on proof-of-stake chains expensive to survive, not just expensive to attempt.

Why did Ethereum switch from mining to staking?

Ethereum, the second-largest cryptocurrency, moved from proof of work to proof of stake in September 2022 in an event called the Merge, cutting its energy use by over 99 percent. Proof of stake replaces electricity costs with slashable collateral: validators stake coins that are destroyed if they cheat. Bitcoin, by contrast, has stayed with proof of work, valuing its longer, battle-tested track record.

Is proof of stake better than proof of work?

Neither is simply better; they price security differently. Proof of work buys security with electricity and hardware, and its energy appetite is both its most criticized feature and, defenders argue, its security budget. Proof of stake is dramatically lighter on energy but younger, and big stakers earn more stake, which can concentrate influence over time. Each design trades energy, capital, and complexity differently.

Are staking rewards like earning interest on a savings account?

No. Advertised staking yields are paid in a volatile coin whose price can fall faster than the yield accrues, and staked coins are often locked up exactly when you would most want to sell. A staking percentage is never a guarantee of profit, so any pitch presenting it as savings-account interest should be treated as marketing rather than a reliable return.

Why do blockchains need a consensus mechanism at all?

On an open network anyone can join, including liars, and without a cost attached to writing history an attacker could spin up a million fake identities and outvote everyone. Consensus mechanisms attach a real-world price to each vote, turning 'one identity, one vote' into 'one unit of skin in the game, one vote', so thousands of mutually distrusting computers can settle on one version of the ledger.

Resources

Finished this lesson?

Mark it complete to track your progress.

Related guides