Asliअसली

How it works

India already scans QRs dozens of times a day — at every UPI payment. Asli points that habit at the thing you actually swallow. The bet is simple: a counterfeit can copy every printed detail on the box. It cannot copy a wallet's signature.

The problem, dated

  • Up to 20% of medicines sold in India are estimated to be counterfeit; the root cause is a lack of traceability (Deccan Herald, Sep 2026).
  • Sep 2026: fake cancer drugs and ICU injectables reached 90+ hospitals in Bengaluru — sold at up to 50% discount with forged invoices and licences.
  • A ₹5,000-crore counterfeit racket saw an IPS officer arrested in 2026 over a ₹3-crore bribe to “fix” the probe — even the referee can be bought, so the record must live somewhere nobody can quietly edit.
  • Quick-commerce now dispenses to the 15–40 crowd, with recurring “expired on arrival” complaints; fake Mounjaro/Ozempic-style pens sold via Instagram/WhatsApp channels (Reuters, Apr 2026).
  • QR codes are mandated on hundreds of brands since 2023 — but a QR merely displays what the packager printed, and hospital pharmacies rarely verify. A copy passes a print check.

Every feature maps to an Arkiv primitive

Attestations are wallet-signed — $creator is immutable

A batch claim is an entity whose creator address Arkiv fixes forever. A copy can clone every attribute; it cannot clone the signer. The batch page puts registered and unregistered attestations side by side.

Custody trail — one entity per handover

Manufacturer → distributor → pharmacy → patient, each hop a signed entity. Public scans are signed by the Asli relay wallet and record city only — never a person.

Entity Expiration + Lifetime Extension — living records

Each batch entity’s lifetime is tied to the medicine. Every scan performs a Lifetime Extension, so proof stays alive exactly while the medicine keeps moving; if nobody vouches, the record expires on its own.

readonly + permissionlessExtension — recalls that can't be buried

A recall is write-once: the issuer cannot edit it, and cannot delete it. And because anyone can extend it, a regulator, journalist or citizen can keep the warning alive without the issuer's cooperation.

u64 range queries — the Expiry Radar

exp_at_ms is a numeric attribute, so “everything expiring within 45 days” is a true range scan — the answer to expired-on-arrival deliveries.

Live events over WebSocket on top

watchEntityEvents with no fromBlock streams creations, patches, extensions and deletions into the activity feed — judges watch their own clicks land on-chain in real time.

What deliberately stays OFF Arkiv

  • Patient identities, prescriptions, and any personal data — the demo data is synthetic, and public scans record city only.
  • Product photographs and large catalogs — Arkiv is the trust layer, not a CDN.
  • Private pharmacy inventory — only the events that establish public trust are written.

Verify us without us

Every claim on this site is reconstructible from the chain alone:

git clone https://github.com/Aritra7070/Asli
cd asli && npm install
npm run reproduce   # reads Tiramisu directly — no keys, no servers

Entity design: /arkiv/schema.md · Friction log: /arkiv/friction.md

Honest limits

  • Registry entries in this demo are self-signed; production needs regulator (state FDA) attestations layered on top.
  • The demo write buttons sign with the project's disposable testnet wallets so anyone can try the flow — real deployments sign with each actor's own wallet.
  • Public-scan writes are relayed and rate-limitable; a production build would issue gasless scan passes per pharmacy.

Start from the home page or open the Radar.