Giter Site home page Giter Site logo

srishtilodhi / energy-trading-dapp Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 548 KB

PowerX is a Peer-2-Peer Energy trading DApp built on polygon blockchain, that facilitates sharing of locally generated electricity.

Home Page: https://energy-trading-dapp.vercel.app

Solidity 1.75% JavaScript 54.15% HTML 0.87% CSS 43.22%

energy-trading-dapp's Introduction

PowerX is a Peer-2-Peer Energy trading DApp built on polygon blockchain, that facilitates sharing of locally generated electricity. This platform leverages blockchain technology to create a transparent and efficient marketplace for energy exchange.

The problem PowerX solves

In 2023, 80% of the electricity is generated through non-renewable sources of energy. Even though we know what harm we are doing when it comes to adapting renewable sources, we all step back due to the investment it demands. So this can be done away with if we find a way to build a new marketplace in this renewable energy domain. Here we are, team PowerX, with the solution.

After the initial investment in Solar Panels, Wind Mills, and transmission infrastructure, the users can connect themselves with neighbors (Nodes) in the network and start trading excess stored energy.

PowerX comes into play as an intermediary portal for executing transactions, which decentralizes the system and does not require any middleman.

Through our application, the user creates a free account, connects Metamask wallet & activates Push Protocol for notifications.

Once the bid is created, all users of the App will receive a Push notification, about the entry details. This energy sale is now available to be bought. A transaction takes place between the entry creator and some other user who buys energy from an entry.

The buyer and seller must have some connection between them. This is necessary for both physical connections between homes and within the smart contract.

Thus PowerX allows peer-2-peer energy sharing between nodes (houses), in turn removing dependency on a central authority.

FrontEnd Deployment

The Decentralized Energy Trading Platform is deployed at powerX-UI.

Smart Contract

The smart contract is deployed on the Amoy Testnet of the Polygon blockchain. You can check it out here powerX-smartContract.

Backend Deployment

-> Backend of PowerX - Techstack

-> About Backend

This is a Node.js app. Express is used for routing and creating API endpoints in server. We have used Mongo DB as our database. Smart contract is created in Solidity and deployed on Polygon Mumbai Testnet.

Getting Started

How to set up the project locally:-

Prerequisites

  1. Clone the repo
    git clone https://github.com/SrishtiLodhi/Energy-Trading-DApp
  2. Install NPM packages
    npm install --force
  3. Update .env file
  4. Use npm run start

energy-trading-dapp's People

Contributors

srishtilodhi avatar

Stargazers

 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.