Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jdforsythe/bloch
Cryptocurrency in TypeScript
https://github.com/jdforsythe/bloch
crypto cryptocurrency hackathon hackday presentation presentation-slides typescript
Last synced: 18 days ago
JSON representation
Cryptocurrency in TypeScript
- Host: GitHub
- URL: https://github.com/jdforsythe/bloch
- Owner: jdforsythe
- Created: 2019-11-16T21:35:04.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T15:26:58.000Z (about 2 years ago)
- Last Synced: 2023-03-11T03:03:14.943Z (almost 2 years ago)
- Topics: crypto, cryptocurrency, hackathon, hackday, presentation, presentation-slides, typescript
- Language: TypeScript
- Size: 3.49 MB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bloch
Blockchain in TypeScript
## Information
Do not try to use this as a real cryptocurrency. It is a naive, bare-bones implementation of a blockchain with a cryptocurrency stored in the blocks and it is in no way guaranteed to be secure.
It was created for a presentation at Youngstown State University's Local Hack Day 2019. Slides are in the `/docs` folder.
All the fundamental technologies are present, including a blockchain with hash pointers, peer-to-peer networking, and a consensus mechanism.
## Building
Look in `package.json` for the scripts.
- `yarn run build` - check the types and code style, run unit tests, and compile TypeScript (from `/src`) to JavaScript (in `/lib`)
- `yarn run build-docker-image` - builds the Docker image using the `Dockerfile` configurationRun three miners by building the docker image and then running `docker-compose up`
Use Postman or curl to send transactions or check wallet balance, block chain state, or mempool state.