https://github.com/roziscoding/simple-typescript-blockchain
SImple typescript CLI that mines blocks in a blockchain array
https://github.com/roziscoding/simple-typescript-blockchain
Last synced: about 1 year ago
JSON representation
SImple typescript CLI that mines blocks in a blockchain array
- Host: GitHub
- URL: https://github.com/roziscoding/simple-typescript-blockchain
- Owner: roziscoding
- License: gpl-3.0
- Created: 2019-06-19T22:37:08.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-10-02T19:42:50.000Z (over 2 years ago)
- Last Synced: 2025-02-27T02:55:48.088Z (about 1 year ago)
- Language: TypeScript
- Size: 17.6 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
simple-typescript-blockchain
---
Simple Typescript writen blockchain script.
## Running
- git clone this
- cd simple-typescript-blockchain
- `npm run build`
- `npm link`
- `chain [size]`
## Params
This only takes one param wich is an integer. This integer will be used as the size of the blockchain.
> **Important:** The genesis block will be mined every time. So the final items count in the array will be size + 1