Objective
Once I came across a naive blockchain implementation in JS in 200 lines of code and decided to extend it to a naive cryptocurrency implementation, which fit in 650 lines of code.
A simple cryptocurrency implementation on JavaScript in just about 650 lines of code (without comments and client). It also includes WEB GUI written on Vue.js where you can send coins and explore blockchain.
Features
- Blocks mining with reward and simple POW
- Create transactions and send amount to address using unspent outputs
- Peer to peer connection, blockchain synchronization
- Multiple wallets, add new wallet feature
- Demo mode mining to reduce CPU load
- User interface with real time data change
- Status page with latest blocks, current mempool, wallets list with balances
- Chain explorer for blocks, addresses, transactions
- Descriptive debug messages in develpment mode using debug package
- Server requests logs with winston
More info in my blog: https://vedmant.com/little-bitcoin-simple-cryptocurrency-implementation-javascript-gui/
Related Projects
Explore more projects in this category