Skip to content
RentShield

RentShield

Cryptographic (SHA-256) & Gemini AI-Arbitrated

Created on 21st November 2026

•

RentShield

RentShield

Cryptographic (SHA-256) & Gemini AI-Arbitrated

The problem RentShield solves

🚨 The ₹40,000+ Crore Rental Trust Crisis in India

Across Indian cities (Bengaluru, Pune, Ahmedabad, NCR, Mumbai), millions of students and working professionals pay 2 to 10 months of rent as a Security Deposit. Yet at Move-Out, over 65% of tenants face unfair, arbitrary deductions ("repainting charges", pre-existing wall cracks, old appliance wear) because:

  1. WhatsApp Photos Are Easily Disputed: Unverified gallery photos lack cryptographic proof of time or byte-integrity and can be manipulated or denied by either party.
  2. Subjective Damage Fights: There is zero neutral distinction between Fair Wear & Tear vs. Actual Tenant Damage under Indian law.
  3. Collusion & Delayed Refunds: Fake-relative approvals, duplicate move-in photos reused at move-out, and weeks of chasing landlords for UPI refunds.

🛡️ How RentShield Solves It (End-to-End Cyber-Escrow Protocol)

RentShield transforms chaotic rental handovers into a mathematically tamper-proof, legally grounded, 2-minute digital protocol:

  • 🔐 Client-Side SHA-256 Baseline Sealing (WebCrypto API): Move-in room photos are hashed directly inside the browser before upload, generating an immutable cryptographic fingerprint.
  • 🤝 Anti-Collusion Counterparty Anchor: Binds the property to the real Owner's Rent-Receiving UPI VPA, Registered Rental Agreement Ref ID, Signer IP, and Device Fingerprint—blocking "fake relative" sign-offs. Owners can Approve & Lock or Flag Discrepancies with real-time cross-browser sync.
  • 🚨 Duplicate Photo Fraud Blocker: At Move-Out, if anyone re-uploads the old clean Move-In photo to fake a clean exit, browser byte-hash matching triggers an instant ANTI-FRAUD TRIGGERED block.
  • ⚖️ Gemini 2.5 Flash Legal Arbitration (Model Tenancy Act 2021): Compares locked Move-In vs. Move-Out photos under Section 13 & Section 15 of India's Model Tenancy Act 2021—automatically separating Normal Wear & Tear (₹0 cut) from Actual Tenant Damage with transparent INR breakdown and a 72-Hour Counterparty SLA.
  • 💸 Instant Phone-Scannable NPCI UPI QR Settlement & History Vault: Generates a real scannable UPI QR (upi://pay + custom QR upload) for the exact Net Refund, settles the contract into an immutable Past History Stack, and offers a Zero-Server Public Courtroom Verifier (/verify).

⚡ 1-Click Judge Access (Zero Signup Needed!)

Challenges I ran into

Building a zero-trust legal & financial protocol with real-time dual-party UX presented four major engineering hurdles:

  1. Preventing "Fake Landlord" Collusion & Move-Out Photo Spoofing:

    • Hurdle: A tenant could enter a friend's email as the landlord to self-approve an inventory, or re-upload the exact same clean Move-In photo during Move-Out to cheat the AI.
    • Solution: Engineered a dual Anti-Collusion Identity Anchor (binding Owner's rent-receiving UPI VPA + Agreement Ref ID + Signer IP/Device Fingerprint audit trail) and an in-browser SHA-256 Byte-Collision Detector that blocks identical Move-In/Move-Out image hashes milliseconds before upload.
  2. True Zero-Refresh Real-Time Sync Across Separate Browsers/Devices:

    • Hurdle: The browser BroadcastChannel API synced tabs in the same profile, but failed when a Tenant and Landlord operated on completely separate Chrome profiles or mobile devices.
    • Solution: Built a hybrid BroadcastChannel + Visibility-Aware Silent Differential Polling Engine with a modal-pause shield—updating owner locks, notifications, AI verdicts, and settlement states live across devices with zero screen flicker.
  3. Deterministic Legal AI Verdicts & Quota Resilience:

    • Hurdle: Raw LLM vision outputs can be vague or fail during API rate spikes in a 3.5-hour hackathon judging window.
    • Solution: Constrained Gemini 2.5 Flash with structured JSON schemas anchored strictly to Indian Model Tenancy Act 2021 (Sec 13/15) rules, backed by a deterministic heuristic fallback pipeline so live audits never crash.
  4. Monorepo Prisma Schema Drift & Cold-Start Latency on Cloud:

    • Hurdle: Deploying a pnpm monorepo (client + server) across Render & Neon PostgreSQL caused Prisma schema path mismatches (P2022 missing column errors) and Windows Tailwind v4 native binary issues.
    • Solution: Wrote a custom patch-tw.cjs build hook for Tailwind v4, explicit --schema=server/prisma/schema.prisma zero-downtime migration pipelines, and automated health keep-alive pinging so judges get sub-second API responses.

Tracks Applied (3)

Web & App Innovation

RentShield pushes modern Web & PWA engineering to production FinTech standards: built as a React 19 + NestJS 11 + Prisma...Read More

AI & Machine Learning

RentShield uses Google Gemini 2.5 Flash multimodal vision as an impartial, legally grounded AI arbitrator. Rather than g...Read More

Open Innovation

RentShield pioneers a brand-new PropTech + Legal-FinTech Cyber-Escrow category tailored for India's ₹40,000+ Cr informal...Read More

Discussion

Builders also viewed

See more projects on Devfolio