A simple IoT and Blockchain based application to demonstrate the use of blockchain in IoT.
Note: Windows Build Tools is required to install web3. Install through Powershell(Admin) if not installed already
npm install -g windows-build-tools
Before starting with app, you need to compile the smart contract and start a local blockchain. Follow the steps below to do so:
npm install
npx hardhat node
npx hardhat compile
pip install -r requirements.txt
python app.py
Open http://localhost:8000 in your browser to see the app and Interact with the IoT device.
This is experimental software and subject to change over time.
This is a proof of concept and is not ready for production use. It is not audited and has not been tested for security. Use at your own risk. I do not give any warranties and will not be liable for any loss incurred through any use of this codebase.
This project is licensed under the MIT License - see the LICENSE file for details