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.
- Host: GitHub
- URL: https://github.com/varuns2002/typescript-cryptocurrency
- Owner: VarunS2002
- License: gpl-3.0
- Created: 2022-04-18T07:23:39.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-26T09:30:22.000Z (over 3 years ago)
- Last Synced: 2025-02-12T19:40:27.913Z (8 months ago)
- Topics: bitcoin, blockchain, cryptocurrency, ethereum, merkle-root, merkle-tree, mining, typescript, wallet
- Language: TypeScript
- Homepage:
- Size: 127 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TypeScript-Cryptocurrency
[](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`