Skip to content

A Hyperledger Fabric network for the energy certificate platform developed during the Energy Blockchain Hack

Notifications You must be signed in to change notification settings

knagware9/ewb-energy-certificates-blockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EWB-Origin -> Prototype by 4eyes GmbH

Supported platforms

These instructions are only for MacOSX and Linux (Debian or Ubuntu).

Prerequisites

Quick start

Clone the Repository

Run the application

  • $ ./build.sh

Down the application

  • $ ./destroy.sh

  • API:

    • user
      • create: (post): localhost:8000/user/create
      • getSingle: (get): localhost:8000/user//get
      • getAll: (get): localhost:8000/user/all
      • update: (put): localhost:8000/user//update
      • update selling price: (put): localhost:8000/user//selling-price/update
    • uni pi
      • create: (post): localhost:8000/unipi/create
      • getSingle: (get): localhost:8000/unipi//get
      • getAll: (get): localhost:8000/unipi/all
      • update: (put): localhost:8000/unipi//update
    • demand
      • create: (post): localhost:8000/demand/create
      • getSingle: (get): localhost:8000/demand//get
      • getAll: (get): localhost:8000/demand/all
      • update: (put): localhost:8000/demand//update
    • certificate
      • create: (post): localhost:8000/certificate/create
      • getSingle: (get): localhost:8000/certificate//get
      • getAll: (get): localhost:8000/certificate/all
      • update: (put): localhost:8000/certificate//update
  • API (Request params):

    • user
      • create
        • username
        • name
        • street
        • postalCode
        • sellingPrice
      • getSingle
        • id (get param)
      • getAll
        • <>
      • update
        • id (get param)
        • name
        • street
        • postalCode
        • sellingPrice
      • update selling price
        • id (get param)
        • sellingPrice
    • uni pi
      • create
        • username
      • getSingle
        • id (get param)
      • getAll
        • <>
      • update
        • id (get param)
        • username
    • demand
      • create
        • username
        • kwh
        • price
      • getSingle
        • id (get param)
      • getAll
        • <>
      • update
        • id (get param)
        • hasCertificate (boolean)
    • certificate
      • create
        • unipi
        • minimalPrice
      • getSingle
        • id (get param)
      • getAll
        • <>
      • update
        • id (get param)
        • demand
        • sellingPrice

About

A Hyperledger Fabric network for the energy certificate platform developed during the Energy Blockchain Hack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published