Skip to content

nileshkr17/web3.0--js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 

Repository files navigation

web3.0--js

Blockchain Course Project

🔗 Learn Blockchain Programming with JavaScript

Description

🚀 This project provides a comprehensive introduction to blockchain technology and its effective implementation using JavaScript. You will gain hands-on experience in programming your own blockchain, understanding its core concepts, deploying it to the cloud, and achieving decentralization. This project was developed independently, focusing on topics such as cryptocurrencies, centralized and distributed ledgers, public and private keys, and mining. You will dive into implementing the blockchain core engine and web API, followed by the steps required to decentralize your blockchain.

Features

✅ Create and host a blockchain using Node.js and Express.js. 🔒 Secure data integrity using sha-256 hashing. 🔄 Conflict resolution through the longest node selection method. 📡 API endpoints:

  • /resolve: Resolve conflicts between nodes.
  • /nodes/register: Register new nodes in the network.
  • /transaction: Add new transactions to the blockchain.
  • /blockchain: Get the current state of the blockchain.
  • /mine: Mine new blocks and add them to the blockchain.

Installation

  1. Clone the repository: git clone https://github.com/nileshkr17/web3.0--js.git
  2. Navigate to the project directory: cd web3.0--js
  3. Install dependencies: npm install
  4. Start the application: npm start

Goals

⚡️ The goal of this project is to demonstrate the effective use of blockchain technology in JavaScript, ensuring data security, integrity, and decentralization. The project is designed to be scalable and flexible, allowing for further exploration and expansion.

image -add-block image #above code transfer to express -res.json(blockchain) image

#app.post working Fine! image

Releases

No releases published

Packages

No packages published