A simple web application that demonstrates how blockchain works
Live Demo: https://leodinh.github.io/blockchain-demo/
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.
- 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.
npm install
or
yarn install
npm start
or
yarn start
npm redeploy
or
yarn redeploy