DecentraREC is an attempt to create a fully decentralized currency and energy exchange using DLT for the effect.
Note: This repository is in active development.
This repository contains the following Solidity smart contracts:
- Device.sol
- Market.sol
- MeasurementFactory.sol
- OffersFactory.sol
- Payments.sol
Make sure you have the following installed before proceeding:
- Solidity Compiler
- Ethereum Development Environment (e.g., Truffle, Hardhat)
- Node.js and npm
-
Clone the repository:
git clone https://github.com/AnBapDan/DecentraREC.git cd DecentraREC
-
Install dependencies:
npm install
In Development
In Development
- Description: Devices must be created and allowed by a REC Manager entity. Therefore, this contract serves as an entrypoint for registering and acceptance of a member to a community
- Description: This contract is in Development. It is here that the different asks and bids are grouped at specific timestamps and processed to create Payments (a register for grouping consumers, prosumers and their exchanging energy and price).
- Description: A contract called periodically, by allowed community devices, to create periodic measurements for that timestamp.
- Description: Offers objective consist in creating Asks or Bids depending on the 2 consecutive measurements registered for a specific period, as well as defining the price limits (maximum price per energy consumed // minimum price per energy produced)
- Description: Payments is the contract where the price per energy exchange is created and registered.
- Simple Market Algorithm
- Develop Asks and Bids Contract
- Adopt more Complex Markets
- Unit Testing
- Minimize Usage Fees
- Front-End visualization