Skip to content
MED-TRACK

MED-TRACK

Track Every Pill. Trust Every Dose.”

Created on 15th March 2026

•

MED-TRACK

MED-TRACK

Track Every Pill. Trust Every Dose.”

The problem MED-TRACK solves

MED-TRACK can be used to improve transparency and trust in the pharmaceutical supply chain by allowing different stakeholders to track and verify medicine authenticity.
Manufacturers can use the system to register new medicine batches and generate unique QR codes that are printed on medicine packaging. This ensures that every batch entering the supply chain has a digital identity.
Distributors and pharmacies can use MED-TRACK to update the movement of medicines as they pass through different stages of the supply chain. This creates a verifiable history of how the medicine traveled from the manufacturer to the pharmacy.
Consumers can scan the QR code on the medicine packaging using the web application to instantly verify whether the medicine is authentic. The system displays the batch information, manufacturer details, and supply chain timeline, helping users confirm that the product came from legitimate sources.
Healthcare regulators and pharmaceutical companies can also use the platform to monitor distribution channels and detect irregularities in the movement of medicines, helping reduce the spread of counterfeit drugs.
Overall, MED-TRACK helps ensure safer medicines by providing a transparent and traceable system for tracking pharmaceutical products from production to consumption.

Challenges we ran into

Setting up the blockchain development environment was challenging at the beginning. Hardhat and Node.js compatibility issues caused compilation problems, and the smart contract was not detected until the project structure and configuration were corrected.

Smart contract compilation errors occurred when the Solidity file was not placed in the correct folder or when the Hardhat configuration did not match the Solidity version. Fixing the project structure solved this issue.

Managing the local blockchain network was another challenge. The Hardhat local blockchain resets every time it restarts, which caused all stored medicine data to disappear. This required redeploying the smart contract and re-uploading the dataset each time.

Integrating the backend with the blockchain required careful handling of asynchronous transactions. The backend had to correctly interact with the smart contract using libraries like ethers.js and wait for transactions to be confirmed before returning results.

Contract address synchronization was a problem during development. Whenever the contract was redeployed, the backend needed to be updated with the new contract address to fetch the correct data from the blockchain.

Uploading and managing the medicine dataset also created difficulties. Some entries failed during upload because of duplicate batch IDs or transaction timing issues, which required adding checks to prevent duplicates.

Frontend and backend communication issues occurred when the API responses did not match the frontend expectations. This initially caused valid medicines to appear as “Fake or Unknown” until the verification API was corrected.

Version control and repository management was another challenge. Large folders like node_modules caused Git push issues, so .gitignore had to be configured properly to exclude unnecessary files before uploading the project to GitHub.

Discussion

Builders also viewed

See more projects on Devfolio