Skip to content

Squarific/SimpleBlockchain

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

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

About

A very minimalistic, quickly hacked together blockchain in about 100 lines of code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published