An open API service indexing awesome lists of open source software.

https://github.com/varuns2002/typescript-cryptocurrency

Basic cryptocurrency implementation in typescript.
https://github.com/varuns2002/typescript-cryptocurrency

bitcoin blockchain cryptocurrency ethereum merkle-root merkle-tree mining typescript wallet

Last synced: 6 months ago
JSON representation

Basic cryptocurrency implementation in typescript.

Awesome Lists containing this project

README

          

# TypeScript-Cryptocurrency

[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)

Basic cryptocurrency implementation in typescript.

#### This project is heavily based on the guide written by [Ankan Bag](https://ankan101.medium.com/) which was posted [here](https://javascript.plainenglish.io/lets-create-a-cryptocurrency-for-fun-using-javascript-42894b50e44c).

### Requirements:

- [Node.js with npm](https://nodejs.org/en/download/)

### Usage:

> #### Installing required packages

1. Clone this repository

2. Open a terminal window

3. Set current working directory to `TypeScript-Cryptocurrency`

4. Run `npm install`

> #### Running the application

1. Open a terminal window

2. Set current working directory to `TypeScript-Cryptocurrency`

3. Run `npm run start` or `ts-node index.ts`

> #### Compiling to JavaScript

1. Open `tsconfig.json`

2. Set `noEmit` to `false`

3. To generate a source map, set `sourceMap` to `true`

4. Open a terminal window

5. Set current working directory to `TypeScript-Cryptocurrency`

6. Run `npm run build` or `tsc`

> #### Running the compiled application

1. Open a terminal window

2. Set current working directory to `TypeScript-Cryptocurrency`

3. Run `node index.js`