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

https://github.com/mochafreddo/typechain

This GitHub repository hosts a simple blockchain implementation in TypeScript. It uses Node.js and Nodemon, and includes instructions for setup and execution in the README.
https://github.com/mochafreddo/typechain

blockchain crypto education learning nodejs nodemon tutorial typescript

Last synced: 3 months ago
JSON representation

This GitHub repository hosts a simple blockchain implementation in TypeScript. It uses Node.js and Nodemon, and includes instructions for setup and execution in the README.

Awesome Lists containing this project

README

          

# Typechain

Typechain is a simple blockchain implementation written in TypeScript.

## Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

### Prerequisites

- Node.js
- npm

### Installing

1. Clone the repository

```
git clone https://github.com/mochafreddo/typechain.git
```

2. Install the dependencies

```
npm install
```

## Running the application

You can run the application in development mode using:

```
npm run dev
```

Or you can build the application and then run it:

```
npm run build
npm run start
```

## Project Structure

- `src/index.ts`: This is the main file where the blockchain is created and blocks are added.
- `tsconfig.json`: This file is used by TypeScript compiler to determine which files to compile and what compilation options to use.

## Built With

- `TypeScript` - The main language used.
- `Node.js` - The runtime used.
- `Nodemon` - Used in development for hot-reloading.

## License

This project is licensed under the MIT License.

## Reference

https://nomadcoders.co/typescript-for-beginners