Demonstrates the internal working of cryptocurrencies like Bitcoin, Ethereum, etc., in the Blockchain.
git clone https://github.com/dilipkondaparthi/Bitcoin_Blockchain
Install Node.js. You can go through nodesourceTutorial / treehouseTutorial for the installation process on Windows.
- Test Node. To see if Node is installed, open the Windows Command Prompt, Powershell or a similar command line tool, and type node -v. This should print a version number, so you’ll see something like this v0.10.35.
- Test NPM. To see if NPM is installed, type npm -v in Terminal. This should print NPM’s version number so you’ll see something like this 1.4.28
- Go to the dilCoin folder which contains main.js
- Open the Windows Command Prompt, Powershell or a similar command line tool and type "npm install --save crypto-js" and execute.
- This will download the library and automatically puts them in the node module directory which will contain the hash functions.
- Go to the dilCoin folder which contains main.js(Make sure you have installed Node.js and SHA-256)
- Run the command "node main.js" on the Windows Command Prompt, Terminal, Powershell or a similar command line tool.
- Your output should look same as the one present in the "output.png" image.