Skip to content

No Image Available

MedChain - Patient-Controlled Healthcare Blockchain

Blockchain
Completed
Mar 2025 - Mar 2025

Description

A Flask-based blockchain API for secure, encrypted medical record storage, featuring patient consent management and digital signature verification for data access control.

Project Overview

The Python Flask backend implements a full blockchain with core features: hashing, proof of work, transaction/node management, and consensus. Specialized endpoints handle encrypted medical records, requiring signature verification and an access list (stored with Fernet encryption using a key file `medical_encryption.key`). Authentication is handled via a service with JWT/API key support. The frontend (Next.js boilerplate) acts as the patient/provider portal for interaction.

Technologies Used

Flask
Python
PyCryptodome (RSA)
Cryptography (Fernet)
JWT
Next.js
React
Tailwind CSS
Web3Auth