Skip to content

A simple web application that demonstrates how blockchain works

Notifications You must be signed in to change notification settings

leodinh/blockchain-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blockchain Demo

A simple web application that demonstrates how blockchain works

Demo

Live Demo: https://leodinh.github.io/blockchain-demo/

Project description

This app is a simple blochchain model with the below functionalities:

  • Generating genesis block with pre-defined difficulty level.
  • Adding block to the chain.
  • Configuring difficulty level.
  • Able to change data in the existing block.
  • A mutation in previous block making its hash invalid and also leading invalid previous hash to all subsequent blocks.
  • Able to re-mine the invalid blocks after mutating.

Built With

  • ReactJS: App framework.
  • Redux: state management pattern + library for Reactjs application.
  • Web Workers: used to run scripts in background threads.
  • Webpack Worker-loader: a webpack loader that registers a script as a Web Worker.
  • Ethers : for cryptographic functions.
  • React-transition-group: for making animations when appearing or hiding.
  • SASS: for styling.

Setup

npm install
or
yarn install

Compiles and live-reloads for development

npm start
or
yarn start

Compiles and minifies for production

npm redeploy
or
yarn redeploy

About

A simple web application that demonstrates how blockchain works

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published