Skip to content
A very minimalistic, quickly hacked together blockchain in about 100 lines of code
JavaScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
main.js
package-lock.json
package.json

README.md

Super Simple Blockchain

This is a super simple +/- 100 line implementation of a blockchain in Javascript.
It does not feature clean or performant code. It was quickly hacked together as a proof of concept.

It will connect to other people running the program using Bittorrent DHT. It will sync blocks between clients and verify if received blocks are valid. It will also mine new blocks.

Installing

npm install

Usage

Usage: node main.js PORT DIFFICULTY
Example: node main.js 2006 3

You can’t perform that action at this time.