Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.
/ WattCarbon Public archive

A trustless and distributed carbon credits platform. 50.037 Blockchain course project.

Notifications You must be signed in to change notification settings

shohamc1/WattCarbon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WattCarbon

WattCarbon is a trustless and distributed carbon credits platform. Carbon credits are minted on usage of an electric vehicle charger and can be freely traded for other tokens or Ether, or alternatively can be committed and burnt using the web platform.

Project Structure

+
|---- charger
|     |---- index.js    - Express server running on charger endpoint. Handles token minting.
|---- contracts
|     |---- contracts   - Solidity files for the WattCarbon contract.
|     |---- test        - JavaScript tests to test the WattCarbon contract.
+---- wattcarbon-ui     - React source code for website for token burning.

How to run tests

Use the mnemoic in the README to create a new Ganache environment. Then go to the contracts folder and run truffle test.