Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yesarib/blockchain
🌱 This project is a Node.js application developed to showcase the basic concepts of blockchain and mining. With this project, aim to provide a clear understanding of how blockchain technology operates and how miners contribute to the security and validity of the blockchain.
https://github.com/yesarib/blockchain
api blockchain-technology cryptocurrency decentralization distributed javascript miner nodejs socket socket-io
Last synced: 2 months ago
JSON representation
🌱 This project is a Node.js application developed to showcase the basic concepts of blockchain and mining. With this project, aim to provide a clear understanding of how blockchain technology operates and how miners contribute to the security and validity of the blockchain.
- Host: GitHub
- URL: https://github.com/yesarib/blockchain
- Owner: Yesarib
- Created: 2023-08-28T12:16:58.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-27T10:04:45.000Z (3 months ago)
- Last Synced: 2024-10-27T11:28:08.461Z (3 months ago)
- Topics: api, blockchain-technology, cryptocurrency, decentralization, distributed, javascript, miner, nodejs, socket, socket-io
- Language: JavaScript
- Homepage:
- Size: 6.2 MB
- Stars: 9
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Blockchain - A Blockchain and Miner Application
This project is a blockchain and miner application developed using Node.js. This application provides a fundamental example to understand the concepts of blockchain and miners.
## Features
- Simple blockchain structure.
- Mining process with miners.
- Real-time data communication using Socket.io.## Getting Started
You can follow the steps below to run the project on your local machine:
1. **Clone the Repository:**
Open your terminal and clone the repository to your local machine:```sh
git clone https://github.com/Yesarib/Blockchainn.git2. **Install Required Packages:**
After cloning the project, open 2 console and navigate to the project directory and install the required packages:
```sh
cd Blockchain
npm install
```
```sh
cd Miner
npm install3. **Run the Application:**
Once you have installed the required packages, start the application using the following command on both console:
```sh
nodemon start
```
or
```sh
npm start
```
The application will run by default on http://localhost:3000 (for MongoDB connection).
For socket connection, you can use http://localhost:8000.
## Blockchain Section
In the blockchain section, you can share fundamental information about the blockchain. You can explain how the blockchain works, how it's created, and how data is stored.## Miner Section
In the miner section, you can provide details about miners. Explain how miners attempt to mine blocks, how newly mined blocks are sent to the blockchain section using sockets, and how validation and broadcasting are performed.