Focus mode

Web3 Fundamentals and NEAR

Proof of Work vs Proof of Stake

Proof of Work vs Proof of Stake

These contents have been prepared using online resources. Patika.dev’s own contents are currently under preparation.

Since there are no middlemen in blockchains, there is a challenge which is verifying transactions. Some blockchains like Bitcoin and Ethereum overcome that using the Proof of Work method. The other method is Proof of Stake. This method is consuming less energy than the other.

These two methods are similar. Both method’s distributed network participants need to agree on which new block is added to the blockchain but how they are doing this is different.

images

"Proof of work

  • Nodes called miners compete to solve a math problem using brute force (e.g., rolling a dice thousands of times to get the right number).
  • The first miner that solves the problem gets to create a block.
  • Other nodes check if the block is valid. If it is, the miner is rewarded cryptocurrency. If it’s not, the miner wasted their time and energy.
  • All nodes add the new block to their copy of the blockchain.

Proof of work uses energy because miners compete to solve math problems by building powerful machines that run 24/7.

Proof of stake

  • Nodes called validators stake some cryptocurrency. A stake is like saying: “I’ll commit this amount of cryptocurrency to win the right to do this transaction.”
  • Validators with more stake are more likely (but not guaranteed) to be selected to process the transaction and create a block.
  • Other validators check if the block is valid. If it is, all participating validators earn a transaction fee. If it’s not, the validator that created the block might lose its stake.
  • All nodes add the new block to their copy of the blockchain.

Proof of stake is still in its infancy but uses less energy than proof of work. Bitcoin uses proof of work, and Ethereum is currently transitioning from proof of work to proof of stake."

For further information: Proof of Work vs Proof of Stake

left-disk

Programs to Accelerate Your Progress in a Software Career

Join our 4-8 month intensive Patika+ bootcamps, start with the fundamentals and gain comprehensive knowledge to kickstart your software career!

right-cube

Test

Comments

You need to enroll in the course to be able to comment!