Skip to content

adrianmcli/simple-js-blockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

11 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Simple JS Blockchain

This is based on a blog post written by my good friend Kendrick Tan.

The original post used Haskell (which I am a fan of), but I am nevertheless most comfortable with Javascript. A lot of blog posts about tiny blockchains in Javascript used ES2015 classes and I wanted to see if we could simply use Flow types instead.

Running It

  1. Clone the repo.
  2. Run yarn (or npm install) to install dependencies.
  3. Build the project (to strip the types) using yarn build or npm run build.
  4. Require the library inside the generated lib/lib.js.

About

๐Ÿ”— A simple JS blockchain using only Flow types and functions

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published