- 💎 Blocks with index, hash, data, and timestamp.
- ⛏ Proof-of-work system.
- ⛓ In-memory JavaScript array to store the blockchain.
- ✅ Block integrity validation.
- 📡 Decentralized and distributed peer-to-peer communication.
To install this application, you'll need Node.js (which comes with npm) installed on your computer. From your command line:
$ npm install blockchain.js -g
$ blockchain
You'll need Git to run the project from source. From your command line:
# Clone this repository
$ git clone https://github.com/seanseany/blockchain.js
# Go into the repository
$ cd blockchain.js
# Install dependencies
$ npm install
# Run the app
$ npm start
- Varpol - Interactive node CLI
- Peer Exchange - Peer to peer communication
- Crypto-js - Crypto library for hashing blocks
This project is licensed under the Apache-2.0 License - see the LICENSE.txt file for details
- This article written by Lauri Hartikka.
- Original repo by Lauri Hartikka
- Antony Jone's fork for refactoring.
- Nick Fallon fork for PoW implementation.
- Logo designed by Muammark / Freepik.