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 t…


This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by steve kimoi

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.

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


This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by steve kimoi


Print Share Comment Cite Upload Translate Updates
APA

steve kimoi | Sciencx (2023-01-07T13:08:31+00:00) WHAT IS THE DIFFERENCE BETWEEN PROOF OF WORK AND PROOF OF STAKE?. Retrieved from https://www.scien.cx/2023/01/07/what-is-the-difference-between-proof-of-work-and-proof-of-stake/

MLA
" » WHAT IS THE DIFFERENCE BETWEEN PROOF OF WORK AND PROOF OF STAKE?." steve kimoi | Sciencx - Saturday January 7, 2023, https://www.scien.cx/2023/01/07/what-is-the-difference-between-proof-of-work-and-proof-of-stake/
HARVARD
steve kimoi | Sciencx Saturday January 7, 2023 » WHAT IS THE DIFFERENCE BETWEEN PROOF OF WORK AND PROOF OF STAKE?., viewed ,<https://www.scien.cx/2023/01/07/what-is-the-difference-between-proof-of-work-and-proof-of-stake/>
VANCOUVER
steve kimoi | Sciencx - » WHAT IS THE DIFFERENCE BETWEEN PROOF OF WORK AND PROOF OF STAKE?. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2023/01/07/what-is-the-difference-between-proof-of-work-and-proof-of-stake/
CHICAGO
" » WHAT IS THE DIFFERENCE BETWEEN PROOF OF WORK AND PROOF OF STAKE?." steve kimoi | Sciencx - Accessed . https://www.scien.cx/2023/01/07/what-is-the-difference-between-proof-of-work-and-proof-of-stake/
IEEE
" » WHAT IS THE DIFFERENCE BETWEEN PROOF OF WORK AND PROOF OF STAKE?." steve kimoi | Sciencx [Online]. Available: https://www.scien.cx/2023/01/07/what-is-the-difference-between-proof-of-work-and-proof-of-stake/. [Accessed: ]
rf:citation
» WHAT IS THE DIFFERENCE BETWEEN PROOF OF WORK AND PROOF OF STAKE? | steve kimoi | Sciencx | https://www.scien.cx/2023/01/07/what-is-the-difference-between-proof-of-work-and-proof-of-stake/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.