SLAY
From factory to patient — every pill verified.
Created on 29th December 2025
•
SLAY
From factory to patient — every pill verified.
The problem SLAY solves
The Problems that MediChain Solves:
- Counterfeit medicines are a major threat to patient safety, particularly due to long and opaque supply chains.
- Chemists, hospitals, and patients frequently lack a dependable method to verify a medicine's authenticity.
- The current systems such as paper records, static QR codes, and centralized databases are all very easy to manipulate.
- Counterfeit, expired, or wrongly stored medicines can be given to patients without being noticed.
How This Project Helps
- Manufacturers put each batch of medicine on a blockchain that cannot be tampered with, which in turn creates a permanent record of origin.
- Every transfer across the supply chain is logged making it very easy to spot skipped or invalid steps.
- Dynamic QR codes are used to prevent the reuse and copying of the genuine ones.
- Public verification is such that everyone can check authenticity without logging in.
- Hospitals do bulk verification of their inventory which results in less manual audits and safety risks.
- Patients get their trust built through instant and transparent verification.
- Regulators and suppliers gain from better accountability, compliance, and reduced operational risk.
The implementation of this system has transformed the verification of medicines into a process that is secure, automated, and trustworthy.
Challenges we ran into
-
Wallet State Leakage Across Users
When multiple users logged in on the same browser, the app reused the previously connected wallet address without reopening MetaMask. This caused incorrect wallet identities to appear across accounts, which is unacceptable for a blockchain system. -
Fix Applied
I separated user authentication from wallet connection entirely. Wallet access now happens only on explicit user action, sessions are cleared on logout, and MetaMask listeners detect account or network changes in real time. -
Dynamic QR Code Mismatch
Regenerating QR codes after each scan initially caused verification failures because off-chain scans and on-chain batch data went out of sync. -
Fix Applied
I introduced a scan nonce and backend validation layer that invalidates old QR codes while keeping the original batch identity consistent on-chain.
These challenges forced tighter state management, stronger security boundaries, and more reliable verification logic.
Tracks Applied (3)
Ethereum Track
ETHIndia
Best Innovation
AWS
AWS
Cheer Project
Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.
