https://github.com/syniol/blockchain-node-ts
Creating Blockchain from Scratch using TypeScript in Node.js Ecosystem
https://github.com/syniol/blockchain-node-ts
Last synced: 9 months ago
JSON representation
Creating Blockchain from Scratch using TypeScript in Node.js Ecosystem
- Host: GitHub
- URL: https://github.com/syniol/blockchain-node-ts
- Owner: syniol
- Created: 2022-08-31T19:18:11.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-07T23:14:39.000Z (almost 4 years ago)
- Last Synced: 2025-01-20T15:41:48.031Z (over 1 year ago)
- Language: TypeScript
- Size: 68.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Blockchain in Node.js using TypeScript
Creating Blockchain from scratch using TypeScript for Node.js ecosystem.
## Cryptography
There are three main cryptography methods used in Blockchain:
* Hash
* HMAC
* Digital Signature
## Transaction(s)
In this example your can find three example of Block implementation. Blocks
with more than one transaction uses Merkle Tree for all transactions added
inside a block.
* Single Transaction
* Multiple Transaction
* Transaction Pool
## Environment Variables
Please see list below of all environment variables to get this application
up and running.
* HMAC_SECRET: _Secret key for HMAC Hash (default value is:Syni0l9D32)_
* DS_PUB_KEY: _RSA Public Key for Digital Signature_
* DS_PRV_KEY: _RSA Private Key for Digital Signature_
#### Credits
Author: Hadi Tajallaei
Copyright © 2022. All Rights Reserved.