【CoinGeek】Create your own pocket sized blockchain in JavaScript

in blockchain •  3 years ago 

【CoinGeek】Create your own pocket sized blockchain in JavaScript
Screenshot_20211113-204129_Chrome.jpg

Satoshi Nakamoto has established the basic structure of the blockchain with Bitcoin. Here we just follow it, albeit a simplified one.

In blockchain, the block header stores the "Merkle Root". This is a hash of all the transactions in that block.

Then, each new block also holds the hash of the last block as a "chain". This is a fundamental property of blockchain. In other words, each block is built on top of the previous block.

Next, we just need to initialize the blockchain array and create our first block, the Genesis Block.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE BLURT!
Sort Order:  
  ·  3 years ago  ·  

Thank you for using my upvote tool 🙂
Your post has been upvoted (26.29 %)

Delegate more BP for better support and daily BLURT reward 😉
@tomoyan
https://blurtblock.herokuapp.com/blurt/upvote