DEV Community

Cover image for WHAT IS THE DIFFERENCE BETWEEN PROOF OF WORK AND PROOF OF STAKE?
steve kimoi
steve kimoi

Posted on • Updated on

WHAT IS THE DIFFERENCE BETWEEN PROOF OF WORK AND PROOF OF STAKE?

Proof of Work (PoW) and Proof of Stake (PoS) are both consensus mechanisms that help keep the blockchain secure and add new transactions on the blockchain.

A consensus mechanism is a way in which the nodes agree on the authenticity of transactions that have been recorded in the blockchain.

Proof of Work (PoW): this is a consensus mechanism whereby nodes (computers) compete to be the first to solve a complex computational problem (try to guess the “hash” number) for them to come up with new blocks and add them on the blockchain. The miner who comes up with the block is then awarded with new coins. Check out my blog on Mining (PoW) here.

Proof of Stake (PoS): this is a consensus mechanism whereby a node ‘stakes’ a certain amount of the native cryptocurrency for them to validate transactions and create new blocks. This crypto that they’ve staked acts as collateral for them to participate as validators. The chances of a node being selected as a validator depend on the amount they’ve staked. Once the validator is choosen to come up with the new block, they are awarded a portion of the gas fees (transaction fees).

The purpose of introducing proof of stake was to combat environmental challenges that were being caused by Proof of Work.

The differences between proof of work and proof of stake are:

  1. In PoS the block creators are known as validators: they check the transactions, verify the activity, vote on outcomes and maintain records.
  2. In PoW the block creators are known as miners: the miners work to solve for the “hash”, then they are awarded with a coin.
  3. In PoS for you to become a validator, you only need to own enough tokens or coins to stake. The use of stake promotes:

    I) Decentralization: this is because validators are chosen according to their stake in the network rather than computational power. It ensures decentralization since you do not need high computational power to participate as a validator.

    II) Security: since the validators have a financial stake in the network, they will act in the best interests of the network.

  4. In PoW for you to become a miner, you must invest in equipment and energy to power the computers solving the computations. This makes PoW less accessible to individual users and more dominated by large mining pools with access to economies of scale.

  5. PoS systems are more energy efficient as compared to PoW, this is because you need less computational power as compared to PoW systems.

One of the downsides of PoS is that an entity or a group of people can decide to acquire a significant portion of total stake in the network, thus causing some form of “centralization”. Which can enable them to have a level of influence on the network, as they will have a greater probability of being chosen as validators therefore having more opportunity to earn rewards.

However, there are mechanisms that are in place to prevent validators from acting maliciously against the best interest of the network e.g slashing.

Slashing is a mechanism where validators who might have violated the rules of the network have a portion of their stake confiscated.

Thread version of this article can be found at:

WHAT IS THE DIFFERENCE BETWEEN PROOF OF WORK AND PROOF OF STAKE?

The terms Proof of Work(PoW) and Proof of Stake(PoS) tend to be confusing a times if you are new in the blockchain ecosystem.

What do they mean in simple definitions and what are their differences? Let’s see pic.twitter.com/MC4emtspqC

— steve.eth (@stevekimoi) January 7, 2023

Thank you. Don't forget to check the rest of my blogs if you'd like to learn more about blockchain and web3!

Cover image by bitpay

Top comments (0)