[{"@context":"https:\/\/schema.org\/","@type":"BlogPosting","@id":"https:\/\/extrimian.io\/proof-of-work-vs-proof-of-stake\/#BlogPosting","mainEntityOfPage":"https:\/\/extrimian.io\/proof-of-work-vs-proof-of-stake\/","headline":"Proof of Work vs Proof of Stake","name":"Proof of Work vs Proof of Stake","description":"Introduction to the most popular and widely used consensus mechanisms: PoW &amp; PoS Consensus Proofs If you are here you probably know a thing or two about&nbsp;Blockchain&nbsp;and that its security relies on cryptography. Creating a decentralized system where everyone agrees with the state of the network has a big challenge to solve: Finding a way [&hellip;]","datePublished":"2023-12-07","dateModified":"2024-03-05","author":{"@type":"Person","@id":"https:\/\/extrimian.io\/author\/julieta-cura\/#Person","name":"Julieta Cura","url":"https:\/\/extrimian.io\/author\/julieta-cura\/","identifier":2,"image":{"@type":"ImageObject","@id":"https:\/\/extrimian.io\/wp-content\/litespeed\/avatar\/ed18e4cfaf7da338dfbbe661bf3e56a6.jpg?ver=1779313263","url":"https:\/\/extrimian.io\/wp-content\/litespeed\/avatar\/ed18e4cfaf7da338dfbbe661bf3e56a6.jpg?ver=1779313263","height":96,"width":96}},"publisher":{"@type":"Organization","name":"Extrimian","logo":{"@type":"ImageObject","@id":"https:\/\/extrimian.io\/wp-content\/uploads\/2024\/05\/Extrimian_Logos_Share_Logo-Extrimian-One-Line-color.png","url":"https:\/\/extrimian.io\/wp-content\/uploads\/2024\/05\/Extrimian_Logos_Share_Logo-Extrimian-One-Line-color.png","width":2387,"height":584}},"image":{"@type":"ImageObject","@id":"https:\/\/extrimian.io\/wp-content\/uploads\/2023\/11\/Proof-of-Work-vs-Proof-of-Stake.png","url":"https:\/\/extrimian.io\/wp-content\/uploads\/2023\/11\/Proof-of-Work-vs-Proof-of-Stake.png","height":1562,"width":3125},"url":"https:\/\/extrimian.io\/proof-of-work-vs-proof-of-stake\/","about":["Blockchain Technology","Software &amp; Dev"],"wordCount":909,"keywords":["Learn | Academy","Web3 Education"],"articleBody":"Introduction to the most popular and widely used consensus mechanisms: PoW &amp; PoSConsensus ProofsIf you are here you probably know a thing or two about&nbsp;Blockchain&nbsp;and that its security relies on cryptography. Creating a decentralized system where everyone agrees with the state of the network has a big challenge to solve: Finding a way for the members of the Blockchain to reach a consensus about it.Overview of the mechanismsThe consensus-mechanism that most people know about is\u00a0Proof of Work (PoW).\u00a0Used by popular Blockchains like Bitcoin and Ethereum\u00a0(As of today)\u00a0it relies on the amount of work that has been put into solving a cryptographic problem to generate\u00a0(mine)\u00a0a new block and add it to the end of the chain. The longer the chain, the more secure it is due to the amount of work put into it.The other one we are gonna look into is called\u00a0Proof of Stake (PoS), in this one instead of\u00a0\u201cMiners\u201d\u00a0we have\u00a0\u201cValidators\u201d, who must stake an amount of\u00a0cryptocurrency or crypto tokens\u00a0to have a chance to be chosen as a validator for the next set of transactions. The probability of being chosen gets higher the bigger your stake.\u00a0PoW vs PoS fundamentalsGiven the nature of the cryptographics problems for&nbsp;PoW, the only way to solve them is by trial and error. Moreover, if you want to be the miner of a block you have to compete against all the others to be the first one and get the desired reward. It is in the miner\u2019s best interest to get big, expensive, power-hungry computers.On the other hand, we have&nbsp;PoS&nbsp;where you are chosen as an already trusted validator thus securing a reward provided you correctly validated the block. The computing requirements are much lower and the entry barrier has been shifted from elite hardware investment to the staking.Differences between Proof of Work and Proof of StakeAlthough both are consensus mechanisms that ensure the security of the blockchain network, there are certain differences between the two (PoW &amp; PoS):The main difference is, of course, how PoW and PoS determine which participant validates new transactions.As for who can validate or mine blocks, while in the case of PoW the higher the computational power, the higher the probability of mining a block, in PoS, the more coins you have in staking, the more likely you are to validate a new block.There are also differences in how a block is validated\/mined. In PoW, miners compete to solve complex mathematical puzzles using their computational resources. While in PoS, usually, the algorithm determines the winner randomly, taking into account the amount of coins in staking.Another big contrast lies in the mining equipment needed in both consensus mechanisms. On the PoW side, professional mining hardware is recommended, such as ASIC, CPU and GPU. But in PoS, any computer or mobile device with internet connection is sufficient.A great detail to take into account as well, is how the rewards are distributed. In the case of PoW, the first person to mine the block receives a reward from the block; and in PoS, validators can receive a portion of the transaction fees collected from the block they validated.Last but not least, we should mention how the network is protected in each mechanism: In PoW, the higher the hash, the more secure the network. However, in PoS, the staking blocks the cryptocurrencies on the blockchain to protect the network.The environmental impact of&nbsp;Proof of WorkOne of the drawbacks with a competitive system is that there only is one winner therefore the energy put into it by the other miners is wasted, making it even more inefficient. But how big is this power usage? Bitcoin, which is the largest one, consumes about 150 terawatt-hours of electricity annually, exceeding the entire country of Argentina, with a population of 47 million. Ethereum\u2019s consumption is estimated to be around 112 terawatt-hours of electricity per year.The real problem lies within the power source itself, the impact of a&nbsp;PoW&nbsp;Blockchain is the one done by the generation of the electricity. In 2021 more than 60% of the&nbsp;global energy production came from fossil fuels. We can only estimate that the same percentage applies here.This has already put in question the scalability of this consensus-mechanism so much so that Ethereum is releasing ETH2.0 which uses Proof of Stake in the near future, which is predicted to reduce the power consumption by more than 99% percent , as it\u2019s about 2000x more efficient.Potential attacks and penalizationsBoth mechanisms rely on the assumption that most miners or validators will act in good faith therefore they are vulnerable to a 51% percent attack. In case of the PoW, if a person of a group controls more than 50% of the mining power they could potentially alter blocks for their own benefit. On the other hand for a PoS blockchain the same type of attack would require having a stake bigger than the rest of the other validators combined.The big deflector for attackers in both cases is the possible financial loss, the penalty for a PoS malicious validator is reflected on a \u201cslash\u201d of their stake with only one altered block. In the case of PoW the energy cost of keeping a parallel, longer chain which scales with the amount of competitors."},{"@context":"https:\/\/schema.org\/","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Proof of Work vs Proof of Stake","item":"https:\/\/extrimian.io\/proof-of-work-vs-proof-of-stake\/#breadcrumbitem"}]}]