Code Monkey home page Code Monkey logo

yesarib / blockchain Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 0.0 6.35 MB

🌱 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.

JavaScript 100.00%
api blockchain-technology cryptocurrency decentralization distributed javascript miner nodejs socket socket-io

blockchain's Introduction

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:

    git clone https://github.com/Yesarib/Blockchainn.git
    
  2. Install Required Packages: After cloning the project, open 2 console and navigate to the project directory and install the required packages:

    cd Blockchain
    npm install
    cd Miner
    npm install
    
  3. Run the Application: Once you have installed the required packages, start the application using the following command on both console:

    nodemon start

    or

    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.

blockchain's People

Contributors

yesarib avatar

Stargazers

Abdullah Salih Öner avatar Muharrem avatar  avatar Ahmet Eren Çelik avatar Emin Duran avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.