MedChain is an innovative Web3-based system designed to authenticate medicines, track expiry, and combat the growing problem of counterfeit drugs in the global pharmaceutical supply chain. By leveraging blockchain, decentralized storage, and smart identity systems, MedChain ensures transparency, trust, and safety for all stakeholders including manufacturers, consumers, hospitals, and regulators.
At the core of MedChain’s architecture are three powerful decentralized technologies:
- Lighthouse for storing manufacturer profile images in a decentralized and verifiable way.
- Subgraph for storing and querying manufacturer registration dates and related indexed data.
The system workflow ensures end-to-end accountability:
- Manufacturer Onboarding & Verification → Manufacturers register and, once verified, they can register their Batch.
- Batch Registration → Medicines are registered on the platform, with full details stored in Subgraph.
- QR Code Authentication → Each batch receives a unique QR code. Consumers, pharmacies, or regulators can scan the code to instantly check whether the medicine is valid, expired, or counterfeit.
- Alerts & Notifications → Expired batches trigger real-time alerts to both consumers and manufacturers. Counterfeit detections are logged and reported instantly to regulators.
- Transparency Dashboard → A public-facing dashboard displays insights into active, expired, and counterfeit medicines, increasing trust across the ecosystem.
- AI Integration (Future Scope) → AI-powered analysis will identify high-risk batches based on suspicious or repeated counterfeit reports.
MedChain is built on the Filecoin Calibration Testnet using smart contracts, Lighthouse for storage, Subgraph for indexing, and a QR-based verification system to ensure medicine authenticity and expiry tracking.
- The Digital Notary (Our Blockchain) - At the core of our system is a blockchain, which acts like a ermanent, unchangeable digital record book. When a manufacturer registers a medicine, its details are "notarized" on the blockchain.
- The Secure Vault (Decentralized Storage) - Important files, like official manufacturer documents or profile images, are stored across a distributed network, not on a single company's server.
- The Super-Fast Librarian (Data Indexing) - To find information in our secure record book instantly, we use a specialized system that works like a brilliant librarian or a search engine for the blockchain.
- The Key to the Vault (Our QR Codes) - Every single medicine box gets a unique QR code. This code is the simple key that links the physical product in your hand to its secure digital record.
- The Control Panel (Our App & Dashboard) - Finally, we wrap all this powerful technology in a clean, simple, and user-friendly interface. We have a dashboard for manufacturers and a simple verification tool for the public.