Inspiration

What it does

MediVault is a secure, peer-to-peer medical record synchronization desktop application. It features a role-based system for Doctors and Patients. Doctors can create a decentralized ledger, add detailed medical notes with subjects, attach images (like x-rays or prescriptions), and share a unique cryptographic public key. Patients can securely join this network using their ID and the doctor's key to instantly sync and view their medical history. Importantly, Patients can share their medical data with multiple doctors as needed.

How we built it

We built MediVault as a desktop application using Electron for the frontend, utilizing HTML, NodeJS and CSS as well. For the backend and peer-to-peer networking, we heavily utilized the Pear ecosystem. Specifically, we use Hypercore and Hyperswarm to create the secure, hashed data logs for the backend

Challenges we ran into

We faced many challenges with regards to P2P consistent connection and data privacy/security issues

Accomplishments that we're proud of

We are incredibly proud to have successfully implemented a functional, true peer-to-peer network without relying on any centralized backend database as this was our first time utilising these frameworks.

What we learned

Through building MediVault, we gained a deep, hands on understanding of distributed systems and decentralized data structures. We learned how to work extensively with Hypercore and Hyperswarm through the Pear API to establish secure communication channels between patients and doctors, as well as replicate append only data across a swarm. On the frontend, we significantly leveled up our skills in building Electron applications

What's next for MediVault after HackUPC26

We want to implement support for multiple doctors collaborating and writing to the same patient's file, creating a unified, multi-author medical history.

Thank you for reading

Built With

Share this project:

Updates