Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.
raheelzubairy edited this page Aug 2, 2017 · 11 revisions

Short Name

Decentralized Energy with Hyperledger Composer

Short Description

You still need to provide a short description. What you had as a short description is more like an introduction. The introduction is what shows on the web page as the description.

Offering Type

Emerging Technologies

Introduction

A key application of Blockchain being currently explored is a Decentralized Energy network. The idea stems from a neighborhood where certain Residents are producing energy through Solar panels or other means, and can sell excess energy to Residents needing energy. The transactions would be based on coins in each Resident's account. As per a pre-determined contract and rate, the coins would be debited from the consumer and credited to the producer, for a certain billing period. Each transaction would need to be atomic and added to a Blockchain ledger for trust and verification. The network can include Banks to transact coins for Fiat currency (USD). The network can have Utility Company who can buy or provide energy through the network. This journey will demonstrate how such a Blockchain application can be created using Hyperledger Composer, and show how the network can be displayed and interacted with through a web interface.

Authors

Code

Demo

Video

  • N/A

Overview

This Blockchain journey will show how to build a Blockchain application using Hyperledger Composer. The application presents a Decentralized Energy network where Residents who are producing energy through Solar panels or other means, can sell excess energy to fellow Residents. The transactions would be based on coins in each Resident's account, with a pre-determined rate of exchanging coins for energy. The network includes Banks to exchange coins for a fiat currency (USD), and Utility Companies who can buy or provide energy through the network. The journey uses Angular framework for the interface to create and shows how to interact with the network using REST API. The application allows user to create Participants (Residents, Banks, Utility Companies) on the network. with their account balances, and to execute transactions between Residents, Resident and Bank, and Resident and Utility Company. The journey demonstrates atomic transaction between the participants and updates their balances per the transaction. Currently this application demonstrates the basic idea of a decentralized energy network and can be expanded in numerous ways: adding specific permissions and channel, setting up real time transactions among participants, and even integrating with IoT to read from power meter and distributing energy.

Flow

  1. The administrator interacts with Decentralized Energy UI comprising of Angular framework
  2. The application processes user requests to the network through a REST API.
  3. Implements requests to the Blockchain state database on Hyperledger Fabric v1
  4. The REST API is used to retrieve the state of the database
  5. The Angular framework gets the data through GET calls to the REST API

Included components

  • Hyperledger Composer
  • Angular Framework
  • Loopback

Featured technologies

  • Blockchain

Blog(s)

  • Adding shortly

Links

Clone this wiki locally