Skip to content

SIMBAChain/SolarDemo

Repository files navigation

solar-demo

A simple demo used to emulate the trading of distributed energy(solar) on a private blockchain with SIMBA API. It allows to trade solar energy with 4 different users in 3 roles through a fake login. To make it simple, all users have hard coded Ethereum Accounts with enough Ethers.

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run unit tests
npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test

What you can find out from this demo

  1. How to use SIMBA API to post information to a private blockchain
  2. How to use SIMBA API to retreive information from a private blockchain
  3. How to use SIMBA API to query transcations from a private blockchain

About

A Demo used to record solar energy trading

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published