Inspiration: The inspiration behind this project came from the growing need for secure and transparent health data management. Traditional EHR systems often face issues like data breaches, lack of interoperability, and limited patient control. Seeing how blockchain could solve these problems motivated us to create a decentralized EHR system that empowers patients while ensuring security and trust.
What We Learned: During this project, we learned how blockchain works at a practical level, including smart contract development using Solidity, and how decentralized storage like IPFS ensures data integrity. We also gained hands-on experience with frontend–blockchain integration through MetaMask and Web3.js, and understood how machine learning models can enhance healthcare by providing predictions. Overall, we learned to combine multiple technologies into a single working system.
How We Built It: We built the frontend using React.js and Tailwind CSS for a smooth user experience. Smart contracts were written in Solidity and tested on Ganache, while MetaMask handled authentication. Patient records were stored securely on IPFS, and their hashes were stored on the blockchain for immutability. The Flask backend hosted the machine learning model and connected with the frontend through APIs. Finally, all components were integrated and tested to ensure seamless data flow.
Challenges We Faced: We faced challenges in configuring IPFS and ensuring reliable file retrieval, especially with hash mismatches. Integrating MetaMask with React and handling blockchain transactions from the frontend also required deep debugging. Smart contract errors, gas issues, and asynchronous Web3 calls were tricky to manage. Connecting the Flask backend and ensuring the ML predictions displayed correctly added another layer of complexity. Despite these hurdles, solving them helped us understand the entire tech stack more deeply.
Built With
- and
- ganache
- ipfs
- javascript
- metamask
- ml
- python
- python-(flask)
- react.js
- solidity
- tailwind-css
- web3.js
Log in or sign up for Devpost to join the conversation.