jagnani73P.03
[the record]STATUS: NTU SINGAPORE — AUG 2026

Hospitatva

SMART INDIA HACKATHON · 2022
a national portal against pandemic price-gouging — hospital rates recorded immutably, checked by ML
fig. 1 — proposed rates checked against the government benchmark, anomalies flaggedZilliqa · ML price model
COMMODITYPROPOSEDBENCHMARK
ICU bed · per day₹18,000₹9,000
Oxygen cylinder₹6,500₹6,200
RT-PCR test₹500₹500
Remdesivir vial₹5,400₹3,100
01THE PROBLEMprice-gouging in a crisis

During COVID, private hospitals inflated costs for beds, oxygen, and treatment — and opacity around availability left families helpless.

Hospitatva is a national information portal bringing full transparency to hospital pricing and commodity availability. A distributed ledger on Zilliqa records the rates hospitals propose and charge; a 30-input ML model detects billing anomalies before invoices are finalized. Built for Smart India Hackathon Internals 2022.

02THE ARCHITECTUREZilliqa · Scilla · three portals

Scilla smart contracts on Zilliqa immutably record proposed rates and live commodity counts. Three portals serve patients, hospital staff, and officials; a 30-input ML price model flags anomalies, and I built the frontend logic — including DID-based auth via MagicLink, grounded in the Web of Trust.

01

RECORD

proposed rates + commodity counts on-chain

Zilliqa · Scilla

02

AUTH

DID sign-in, Web of Trust

MagicLink

03

PREDICT

30-input model flags anomalies

scikit-learn · TensorFlow

04

REVIEW

officials triage patient complaints

Next.js

STACK — Zilliqa · Scilla · Next.js · TypeScript · MagicLink (DID) · scikit-learn
03THE HARD PARTdecentralized identity at the app layer

I integrated DID-based authentication via MagicLink — which meant rethinking how auth context flows through a Next.js app when identity is cryptographic, not a session cookie:

01

DID auth

wallet-native sign-in on the Web of Trust model

02

no sessions / JWTs

auth state tied to cryptographic identity

03

three-portal flow

patients, hospitals, and officials, one ledger

04

anomaly pipeline

ML flags inflated bills before they finalize

04IN THE WILDplates 01–07 · the portal