This is the course project for the subject Blockchain and Cryprocurrency in the 6th semester of IIIT Allahabad. We have implemented how blockchain can be used to store information of IoT devices, specifically the status of GPIO Pins (on / off) in a Raspberry Pi, and temperature readings from thermal sensor emulator.
With a horde of IoT devices proliferating the day-to-day lives of people around the world, they often lack the authentication standards necessary to keep user data safe. Critical infrastructure will be damaged if hackers penetrate through these devices. Therefore, in order to ensure trust, authentication, and standardization across all elements of IoT, blockchain can be used.
The details regarding the implementation, functionalities, results and demonstration can be found in the uploaded report. For usage, first clone this repository and then open a terminal in the project folder. Then the following commands need to be run in order:
pip3 install -r requirements.txt
npm install
truffle compile
ganache-cli 2>&1 | tee logs
python3 app.py