Creating a blockchain with Javascript (Blockchain, part 1)




Learn how to write your own Blockchain with JavaScript. In this video I’ll show you what is behind a blockchain by using simple code. It’s not a complete implementation, but enough to understand how blockchains work and how they guarantee that blocks can never be changed.

After creating our blockchain we’ll try and tamper with it. This will demonstrate a blockchains ability to detect fraud.

Next video (implementing proof-of-work):

💰 Want to buy Bitcoin or Ethereum?
Buy for $100 and get $10 free (through my affiliate link):
https://www.coinbase.com/join/59284524822a3d0b19e11134

► Source code
Available on GitHub:
https://github.com/SavjeeTutorials/SavjeeCoin

► About me
🐦 Follow me on Twitter:

✏️ Check out my blog:
https://www.savjee.be

✉️ Subscribe to newsletter:
https://goo.gl/nueDfz

👍🏻 Like my Facebook page:
https://www.facebook.com/savjee

Original source


25 responses to “Creating a blockchain with Javascript (Blockchain, part 1)”

  1. One question. What if you copied the hash, then change the amount of coins and add the hash to block one? Hashes would be True right? Because every thing you added is Factor ( even timestamp )

Leave a Reply