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.
- Host: GitHub
- URL: https://github.com/mochafreddo/typechain
- Owner: mochafreddo
- Created: 2024-01-29T09:49:55.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-29T14:31:58.000Z (about 2 years ago)
- Last Synced: 2024-01-29T17:26:22.411Z (about 2 years ago)
- Topics: blockchain, crypto, education, learning, nodejs, nodemon, tutorial, typescript
- Language: TypeScript
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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