Skip to content
M

MEDTAG

Securing every step of your medicine’s journey.

Created on 10th December 2025

M

MEDTAG

Securing every step of your medicine’s journey.

The problem MEDTAG solves

What problem does it solve?
Static QR codes on medicine strips can be photocopied, screenshotted, or printed onto fake packs, so a “scan OK” doesn’t guarantee the drug is genuine or came from a legal source.

MedTag adds a live, cryptographic “handshake” between the pharmacist’s phone and the customer’s phone, so only someone physically present with the pharmacist can get a valid token.

Every verified handover is logged, making it easier to trace batches, detect abnormal patterns (sudden spikes of scans for one ID), and support audits or investigations.

How people can use it

  1. For consumers (patients)
    Tap or scan the pharmacist’s phone when buying medicine to see a clear, real‑time status like “Authentic – sold by Authorized Retailer X, Batch Y”.

Reduce the risk of consuming counterfeit or substandard drugs, especially for high‑risk medicines (chemotherapy, epilepsy, insulin, etc.).

Keep a digital record of purchases on the phone, which is useful for chronic patients, insurance claims, and follow‑up visits.

  1. For pharmacists and distributors
    Use the app instead of printing special tags or smart packaging, so it adds security without new hardware costs.

Each sale automatically creates a traceable transaction (who sold, what batch, when), which can help with regulatory compliance and easier recalls.

Dynamic, short‑lived tokens or NFC signals make cloning and screenshot abuse practically useless, because a copied token will expire or be marked already used.

  1. For regulators and pharma companies
    Access an immutable log of all successful verifications, helping to spot suspicious locations or times where duplicated IDs show up.

Support targeted recalls by knowing exactly which batches went to which pharmacies and were actually handed over to real customers.

Use aggregated data to map** counterfeit** hotspots and plan enforcement or awareness campaigns more efficiently.

How it makes tasks easier/safer
Replaces **manual, visual checks **(reading labels, trusting a QR sticker) with automatic cryptographic verification, reducing human error.

Reduces the need for specialized scanners; any** NFC/QR‑enabled smartphone** becomes a trusted verification tool.

Because everything is software‑based (HCE + backend + ledger), it’s fast to deploy at scale, update rules, or revoke compromised IDs without touching physical packaging.

In short, MedTag turns the act of buying medicine into a secure digital transaction instead of a blind trust exercise, making life safer for patients and more accountable for everyone in the supply chain.

Challenges we ran into

We thought making two phones talk via NFC would be the easy part. We were wrong.

For hours, we were stuck in what we called the "Silent Tap" loop. We’d touch the phones together, feel the vibration (so the hardware knew something was there), but... nothing. No data. No green screen. Just silence.

When we finally dug into the logs, we found Error 6A82. We learned the hard way that this is the ISO standard for "I have no idea who you are looking for." It turned out to be a perfect storm of three small mistakes that broke everything:

We forgot one line in the manifest (android:exported="true"), so the OS was basically locking our app in a room.

We had a single typo in our Byte Array ID (F0...).

The worst part: Even after we fixed the code, it still failed because Android "remembers" old broken settings. We spent an hour debugging code that was actually correct, only to realize we just needed to uninstall and restart the phone to clear the cache!

🤳 The Hardware Crisis (And Our "Accidental" Feature)
Mid-hackathon, we hit a wall: we realized one of our test devices didn't actually have an NFC chip. We panicked. If a user doesn't have NFC, does our whole project fail?

Instead of giving up, we pivoted. We decided to build a "Hybrid System." We rushed to integrate a QR code generator as a fallback. Now, if you can't tap, you scan. It started as a panic fix, but it actually became one of our best features—making MedTag accessible to every single smartphone, not just the expensive ones.

Tracks Applied (1)

Ethereum Track

MEDTAG utilizes Ethereum smart contracts to create a tamper-proof, immutable ledger for pharmaceutical supply chain trac...Read More
ETHIndia

ETHIndia

Discussion

Builders also viewed

See more projects on Devfolio