Skip to content

Latest commit

 

History

History
67 lines (43 loc) · 1.88 KB

README.md

File metadata and controls

67 lines (43 loc) · 1.88 KB

GDPRLedger-NL

We are building a Data Ownership Framework for the Energy Sector and beyond. Created and accelerated during the Blockchaingers Hackathon 2018.

Overview

The energy sector is a highly regulated space that has clearly defined relationships between entities with respect to how data is handled. We have created a framework that is tailored to the energy sector's particularities in the Netherlands. It's general assumptions generalize to other countries and industries. A slideshow detailing the solution will be added soon.

...

Prerequisites

  • NodeJS v8.9.0 (LTS)
  • npm v5.8.0

Local System Installation

  1. To Install fabric and its cli tools locally on your system run the following script (from the root from the project folder!)::
bin/install.sh
bin/start-fabric.sh
bin/create-admin-peer-card.sh

Start the platform

  1. Start composer playground:
composer-playground
  1. Create the .bna file from the sourceode by running:
TBD
  1. Deploy it in the web interface by clicking on Deploy a new business network. Afterwards set the name to blockchaingers18 and the decription as well.

    3.2. Choose Drop here to upload or browse to select the .bna to install.

    3.3. At the bottom select ID and Secret and leave admin as user but set adminpw as password. It will take a while but then your network should be deployed.

  2. After the deployment, start a new shell and run the composer-rest-server:

composer-rest-server -c admin@blockchaingers18 -n never -w true
  1. After the command was successful you should be able to visit the api docs and the explorer on:
http://localhost:3000/explorer
  1. The frontend needs to be served over a local webserver in order to allow ajax calls, so start the frontend server:
bin/start-frontend-server.js

You can then serve the frontend on:

http://localhost:8000/pages/layout/top-nav.html