FallenDeity / CryptoBytes

A naive blockchain implementation in Typescript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A naive blockchain implementation in TypeScript.

Setup

$ git clone https://github.com/FallenDeity/CryptoBytes.git
$ cd CryptoBytes
$ npm install

Build

$ npm run build

Internally calls for webpack to build the project.

Test

$ npm run test

Internally calls for mocha to run the tests.

Run

$ npm run build-and-run

Internally calls for webpack to build the project and then runs the built project.

Others

  • npm run lint - Runs eslint on the project.
  • npm run lint:fix - Runs eslint on the project and fixes the errors.
  • npm run prettier - Runs prettier on the project.
  • npm run prettier:fix - Runs prettier on the project and fixes the errors.

Note
Few more commands are available in package.json under scripts section.

About

A naive blockchain implementation in Typescript.

License:MIT License


Languages

Language:TypeScript 100.0%