Question: Please use javascript to complete the prompt and include the HTML . You will create your own Blockchain ( just like in the video )

Please use javascript to complete the prompt and include the HTML. You will create your own Blockchain (just like in the video) with only one little difference. He uses an Array to store his Blockchain, you are simply going to do this, making the Blockchain a List.
Differences will be;
Block object will need a pointer to next (and previous if implemented doubly, which I recommend)
Your Block will NOT need an index
Your Block will NOT need a timestamp.
Blockchain Object will need a pointer to the head and tail.
Blockchain will need to implement push (you should have this).
The key will be writing the isChainValid() function
You must use a 64-bit or greater Hash Function
For the output you will create a Blockchain that allows the user to input data and push that onto the end of the node. When the user does that, the output should be the results of the isChainValid() function (true or false). This function checks the entire chain to ensure all nodes are valid.
Note: You do not need to implement the Proof of Work capability.
In your Fiddle code output, give an application where a Blockchain can be used and why a Blockchain is useful in this application.
Overview:
Create a List that can hash previous list contents.
Ability to add new items successfully to the blockchain.
Ability to check the validity of the blockchain.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!