Skip to content

About

A decentralized application simulating a SmartGrid using the Ethereum BlockChain and web3js.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

SmartGrid Dapp

A decentralized applicaion simulating a SmartGrid using the Ethereum BlockChain and web3js.

Getting Started

The following instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Installing

To get the development env running:

Clone the repository in your working directory

git clone https://github.com/RiaDhanani/SmartGrid.git

Navigate to src directory and run the commands below

cd src/
truffle develop

Open another instance of command prompt/terminal and navigate to the src directory

truffle migrate --reset

Running the tests

truffle test

Deployment

Run the server

npm run dev
  • Log into metamask and import an account using given private key (shown in truffle develop).
  • A single account can register as a Producer or Provider or Consumer.
  • Switch accounts to access functionalities of a Producer, Provider or Consumer.

About

A decentralized application simulating a SmartGrid using the Ethereum BlockChain and web3js.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages