Skip to content

Lynk4/Simple-BlockChain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Simple Block Chain Program


This is by no means a complete implementation and it is by no means secure!.


Install library

npm install --save crypto-js

And also make sure nodejs is installed in your machine.

To run the main.js file.

open terminal or any commandline tool.

node main.js

This is how Block Chain looks like.

1

Output:

Screenshot 2023-11-18 at 12 49 03 AM

After adding Proof of Work It will take some time to add a block.

Output:

Screenshot 2023-11-19 at 4 21 07 PM

Mining Reward and transactions

Screenshot 2024-01-07 at 3 59 39 AM