Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/starlingvibes/blockchain-101
https://github.com/starlingvibes/blockchain-101
Last synced: about 5 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/starlingvibes/blockchain-101
- Owner: starlingvibes
- Created: 2023-08-23T20:36:20.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-24T16:38:28.000Z (about 1 year ago)
- Last Synced: 2023-08-24T18:25:29.429Z (about 1 year ago)
- Language: JavaScript
- Size: 145 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# blockchain-101
## What is a blockchain?
A blockchain is a distributed database that maintains a continuously-growing list of ordered records called blocks. Each block contains a timestamp and a link to a previous block. By design, blockchains are inherently resistant to modification of the data. Once recorded, the data in any given block cannot be altered retroactively without the alteration of all subsequent blocks, which requires consensus of the network majority.
## To start the blockchain
1. Run the following command in the root directory of the project, to install dependencies:
```
$ npm install
```2. Start the blockchain class:
```
$ node blockchainClass.js
```To create accounts, fund them and issue "StarlingVibe" token on the Stellar Testnet in isolation, run:
```
$ bash main.sh
```## PoC
Token Issuance
![Token issuance](./assets/token-issuer.png 'Token Issuer')Token Distribution
![Token Distribution](./assets/token-distributor.png 'Token Distributor')