Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 696 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 696 Bytes

BLOCC Temperature and Humidity Reading Contract Application

This is a Java application used to interact with the BLOCC Temperature and Humidity Reading Chaincode.

Usage

To use it, one needs to create a Contract via BloccContractGateway::getContract() and instantiate a TemperatureHumidityReadingContractApp object with the contract. Example of invoking addReading transaction using this application is shown in TemperatureHumidityExample.

Note that, the example can only be run with the test-network brought up without -ca flag.