https://github.com/tukwan/blockchain
Bitcoin's implementation of Blockchain
https://github.com/tukwan/blockchain
bitcoin blockchain express heroku jest nodejs pubnub react rxjs socket-io tdd typescript
Last synced: 4 months ago
JSON representation
Bitcoin's implementation of Blockchain
- Host: GitHub
- URL: https://github.com/tukwan/blockchain
- Owner: tukwan
- License: mit
- Created: 2020-05-28T05:57:27.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-19T23:21:52.000Z (over 4 years ago)
- Last Synced: 2025-05-22T02:12:10.122Z (5 months ago)
- Topics: bitcoin, blockchain, express, heroku, jest, nodejs, pubnub, react, rxjs, socket-io, tdd, typescript
- Language: TypeScript
- Homepage: https://private-block.herokuapp.com
- Size: 1.42 MB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bitcoin Blockchain
Bitcoin's implementation of Blockchain in JS.
## Demo
* https://private-block.herokuapp.com
## Run Scripts
```json
"start": "node ./build/server/server.app.js",
"build": "yarn tsc",
"heroku-postbuild": "yarn tsc && yarn --cwd client install && yarn --cwd client build",
"dev-client": "yarn --cwd client start",
"dev-ts": "ENV='development' nodemon",
"dev": "ENV='development' node build/server/server.app.js",
"dev-peer": "GENERATE_PEER_PORT='true' nodemon build/server/server.app.js",
"test": "jest --watchAll"
```## Built With
* Typescript
* Node
* Express
* PubNub
* Socket.IO
* React
* RxJS
* Heroku
* Test-driven development (TDD)
* Jest## Project Tree
```
.
├── client
│ ├── public
│ │ └── index.html
│ ├── src
│ │ ├── app
│ │ │ ├── core
│ │ │ │ ├── block.tsx
│ │ │ │ ├── blocks.tsx
│ │ │ │ ├── conduct-transaction.tsx
│ │ │ │ ├── mining-stats.tsx
│ │ │ │ ├── transaction-pool.tsx
│ │ │ │ ├── transaction.tsx
│ │ │ │ └── wallet.tsx
│ │ │ ├── app.scss
│ │ │ ├── app.tsx
│ │ │ └── index.ts
│ │ ├── config.ts
│ │ ├── index.tsx
│ │ └── react-app-env.d.ts
│ ├── .gitignore
│ ├── package.json
│ ├── README.md
│ ├── tsconfig.json
│ └── yarn.lock
├── core
│ ├── app
│ │ ├── pubsub.ts
│ │ ├── seed-blockchain.ts
│ │ └── transaction-miner.ts
│ ├── blockchain
│ │ ├── __test__
│ │ │ ├── block.test.ts
│ │ │ └── blockchain.app.test.ts
│ │ ├── block.ts
│ │ └── blockchain.app.ts
│ ├── utils
│ │ ├── __test__
│ │ │ └── crypto-hash.test.ts
│ │ ├── research
│ │ │ ├── average-time.ts
│ │ │ └── crypto.js
│ │ ├── elliptic.types.ts
│ │ └── index.ts
│ ├── wallet
│ │ ├── __test__
│ │ │ ├── transaction-pool.test.ts
│ │ │ ├── transaction.test.ts
│ │ │ └── wallet.app.test.ts
│ │ ├── transaction-pool.ts
│ │ ├── transaction.ts
│ │ └── wallet.app.ts
│ └── config.ts
├── server
│ └── server.app.ts
├── .eslintrc.js
├── .gitignore
├── .prettierrc
├── jest.config.js
├── nodemon.json
├── package.json
├── README.md
├── tsconfig.json
└── yarn.lock
```## License
>You can check out the full license [here](https://github.com/deployAt/blockchain/blob/master/LICENSE)This project is licensed under the terms of the **MIT** license.