Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mbrsagor/blockchain
I'm learning Blockchain technology with `javascript`.
https://github.com/mbrsagor/blockchain
blockchain blockchain-technology
Last synced: 1 day ago
JSON representation
I'm learning Blockchain technology with `javascript`.
- Host: GitHub
- URL: https://github.com/mbrsagor/blockchain
- Owner: mbrsagor
- Created: 2020-05-14T23:58:45.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-10-26T02:44:43.000Z (about 1 year ago)
- Last Synced: 2023-10-26T03:32:27.732Z (about 1 year ago)
- Topics: blockchain, blockchain-technology
- Language: JavaScript
- Homepage:
- Size: 5.17 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Blockchain
## I'm learning Blockchain technology with `javascript`, will soon update table of content.
###### Prerequisites
> Please below the instructions for javascript blockchain project. I will highly recommend 1st install `node` and `NPM` or `Yarn` in your operating system.
- Node.js
- NPM or YarnIf you want to create a new blockchain project please folow the instruction below:
- Create new folder in your os location
- `yarn init`
- install crypto-js `yarn add crypto-js` for has generate> If you want to run the blockchain project in your local development system please follow the below instructions:
```base
git clone https://github.com/mbrsagor/blockchain.git
cd blockchain
npm install
node index.js
```#### Demo Example
```javascript
BlockChain {
chain: [
Block {
timestamp: '2021-03-23',
data: 'GENESIS',
previousHash: '0000',
hash: 'b168fd02a4acc7558feb0c01a0d83f0feb414003ea4c636f97478767bba84ac3',
nonce: 0
},
Block {
timestamp: '2021-03-23',
data: 'Hacked',
previousHash: 'b168fd02a4acc7558feb0c01a0d83f0feb414003ea4c636f97478767bba84ac3',
hash: 'faba9544407b75511f2234c429da6b5c0ff3af180411d77d6a79ec22e1a179dc',
nonce: 0
}
]
}
```