Based on "Build your Own Blockchain" by fireship-io
. A simple blockchain that was coded in TypeScript. There are also wallets, transactions and mining in this program. After coding this, I realised that there are potentially boundless ways to implement this. I might one day implement blockchain in other languages.
- Make sure you have NodeJS installed on your computer.
- Clone the repository.
git clone "repo-url"
- Install developer dependencies.
npm install
- Compile index.ts using TypeScript compiler via a script in package.json
npm run dev
- Run index.js using node
node .\index.js