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…
34 Comments
What I don't understand about blockchain is that everyone will get the blocks that is created, so in the end everyone's pc will run out of space as you get the blocks from everyone in the world, how his this handled to ensure that we don't drown in data?
This is horrifying, I changed into the directory the js file was stored in command prompt, then I did node name.js. When it ran it said "Cannot find module crypto-js/sha256". I only have 2 weeks to run this code so can you please help me resolve this ASAP.
Amazingly explained! I really didn't know anything about Blockchain. After watching this video, I was like "wow, this guy is amazing!". You did it so nice Savjee! Thanks a lot!
Also, if they're never deleted, wouldn't this cause an enormous strain on the server capacity through accumulation? All information is copied, distributed to an entire network (copied each time) and never deleted? Sounds like room for disaster.
Amazing explanation. One thing I fail to understand is the hash system. Is that a simply a random crypto code? What keeps one from simply copying the hash and validating it that way? I mean, you recalculated the hash, but the sha256 now has different data to stringify so I suppose the hash inevitably will become different, but what prevents you from copying the hash?
What I don't understand about blockchain is that everyone will get the blocks that is created, so in the end everyone's pc will run out of space as you get the blocks from everyone in the world, how his this handled to ensure that we don't drown in data?
Is this what they teach in computer science?
Wow very simple explained ! thanks sir you are save my life!
Great video.
This is horrifying, I changed into the directory the js file was stored in command prompt, then I did node name.js. When it ran it said "Cannot find module crypto-js/sha256". I only have 2 weeks to run this code so can you please help me resolve this ASAP.
AMazinggggg video! Thanks a lot. But, i don't know why am I getting true after trying to recalculate the hassh
Thanks for the great video. The algorithm is very well explained.
@ simply explained could you write youre email adress Please
what will happen if the chain is not valid? you wrote that it should return false, but what will happen in the real life block chain?
In which IDE main.js file created and run
Which IDE should be used?
Neat and simple explanation thank you
Amazingly explained! I really didn't know anything about Blockchain. After watching this video, I was like "wow, this guy is amazing!". You did it so nice Savjee! Thanks a lot!
why do you set this.hash to calculateHash of the block if you're going to set it again when the block is added to SavjeeCoin later?
Super clear !!
At bottom you used SavjeeCoin, does this term need to match the application you are using?
awsme work done plus beautiful voice!
u made it even complicated than it's already was…
Great
This is great for starters
Really good video. This is a great way to present Blockchain to a visual learner like me.
Dear sir… Could you please explain me that how to decrypt the Hash…
My gosh, in terms of covering the basic fundamentals this is an amazing intro!
which theme are you using in vscode?
Only the one word… Awesome!!
I got error…’undefined ’…..please help
Also, if they're never deleted, wouldn't this cause an enormous strain on the server capacity through accumulation? All information is copied, distributed to an entire network (copied each time) and never deleted? Sounds like room for disaster.
Amazing explanation. One thing I fail to understand is the hash system. Is that a simply a random crypto code? What keeps one from simply copying the hash and validating it that way? I mean, you recalculated the hash, but the sha256 now has different data to stringify so I suppose the hash inevitably will become different, but what prevents you from copying the hash?
Love your vid, it definitely gave me a more precise idea of blockchain! This video should be taught in school.
Can blockchain changed when blockchain unconfirmed ?
I keep getting error:
return SHA256(this.index + this.previousHash + this.timestamp + JSON.stringify(this.data)).toString();
^
ReferenceError: SHA256 is not defined
Good Job
Thanks
At 9:02 if using NetBeans how do I test it?