Skip to content

This is a dApp(decentralized application) for blockchain-based(Ethereum) electrical energy trading in micro grid.

Notifications You must be signed in to change notification settings

Kexueyi/dApp_p2p_energy_trading

Repository files navigation

dApp for Peer-to-Peer Energy Trading

This decentralized application (dApp) facilitates peer-to-peer energy trading within a microgrid using the Ethereum blockchain. Designed for mobile platforms, it allows seamless energy transactions without the need for centralized intermediaries.

Features

  • Decentralized Trading: Buy and sell energy directly between users.
  • Smart Contracts: Utilize Ethereum smart contracts for secure, transparent transactions.
  • Cross-Platform: Developed using Flutter, enabling use on both Android and iOS.
  • Database Integration: Uses Firebase for robust data management.

Demo

Click the image below to watch a demo of the dApp: DApp for P2P Energy Trading (Double Auction) | Using Flutter, dart, private PoA Geth Network

Resources

Installation

Ensure the following prerequisites are installed:

  • Xcode or Android Studio
  • Node.js
  • Firebase
  • Flutter
  • Truffle
  • Ganache
  • Metamask
  • Solidity
  • Web3.js

Setup Guide

To install the dApp, follow these steps:

  1. Clone the repository to your computer using the following command:
git clone https://github.com/Kexueyi/dApp_p2p_energy_trading
  1. Navigate to the project directory and install the dependencies using the following command:
npm install
  1. Compile the smart contracts using the following command:
truffle compile
  1. Migrate the smart contracts to the local blockchain using the following command:
truffle migrate
  1. Start the development server using the following command:
npm run start

About

This is a dApp(decentralized application) for blockchain-based(Ethereum) electrical energy trading in micro grid.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published