This repos contains some scripts used to demo the hashchain
Python package.
This demo was meant to run on a Raspberry Pi 3 B+
Logic:
- Deploy a smart contract on the Ethereum Blockchain if not already existing
- Get temperature sensor data
- Hash the record using
hashchain
Python package - Store the record in a MongoDB Database
- Register the hash on the Ethereum Blockchain
This demo is a simple example written to illustrate an article on Medium This article can be found here: link
Logic:
- Deploy a smart contract on the Ethereum Blockchain if not already existing
- Create fake Get temperature sensor data
- Hash the record using
hashchain
Python package - Register the hash on the Ethereum Blockchain
- Store the record in a JSON file