A decentralized medical records system built on Polygon Amoy and IPFS. Patients own their data, encrypted with their private keys. No central database.
-
Clone the repository
-
Install dependencies: npm install
-
Create .env.local file: NEXT_PUBLIC_POLYGON_RPC_URL=https://rpc-amoy.polygon.technology NEXT_PUBLIC_POLYGON_CHAIN_ID=80002
-
Run locally: npm run dev
- Frontend: Next.js 14 (React)
- Smart Contracts: Solidity (Polygon Amoy)
- Storage: IPFS (via Helia) + IndexedDB (Local Keys)
- Auth: Argon2id (Slow Hash) + AES-256-GCM (Encryption)
- Phase 1: Architecture (Complete)
- Phase 2: Authentication (Complete)
- Phase 3: Medical Records (Pending)