Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 442 Bytes

README.md

File metadata and controls

7 lines (5 loc) · 442 Bytes

Energy trading contracts

Contracts to demonstrate energy trading use case on Ethereum

  1. Contract registerMeter.sol registers a smart meter using it's wallet address on the blockchain which enables it to participate in energy trading.
  2. Contract orderBook.sol creates buy/sell orders and logs them.
  3. The array producerEnergy in orderBook.sol stores the total energy transferred from the universal producer per energy trade.