$3.07 4.11%
LSK · 210w

A minimal blockchain command-line interface

Blockchain CLI A minimal blockchain command-line interface. 🎉 Features 💎 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. 🌴 Merkle tree implementation 📦 Installation

To install this application, you'll need Node.js (which comes with npm) installed on your computer. From your command line:


You'll need Git to run the project from source. From your command line:

# Clone this repository $ git clone # Go into the repository $ cd blockchain-cli # Install dependencies $ npm install # Run the app $ npm start
⚒️ Built With 🎫 License

This project is licensed under the Apache-2.0 License - see the LICENSE file for details

🙏 Acknowledgments 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. FAQ by /u/sheepiroth ℹ️ FAQ When or why I would use this?

You should use this if you want to build a bitcoin wallet, payment processor, or bitcoin merchant portal in javascript. You might also be interested in why decentralized networks or p2p applications are useful, or what advantages they have; this project seems like a good way to learn about that.

What is the block chain actually for?

The blockchain is for authorizing payments of a cryptocurrency between two peers without the need for a centralized 3rd party approving of the transaction. There are other uses of the blockchain which are more in line with the second point, digital signatures, but they are secondary to the main purpose of peer to peer transfer of value. Bitcoin is blockchain's killer app.

Why the hell should I care about the blockchain?

Blockchain fac...

Continue on
Recent news
No posts found