🌙 Inspiration

$3.5 trillion in global SME financing is inaccessible because businesses must expose their most sensitive data — revenue, debt, margins — just to apply for a loan. Traditional credit bureaus store everything centrally and suffer massive breaches. We asked: what if you could prove you're creditworthy without revealing a single number?

🔒 What It Does

PrivateCredit AI is a privacy-first credit scoring platform built on Midnight Network's zero-knowledge blockchain.

Borrower flow:

  1. Enter business financials — data never leaves your browser unencrypted
  2. Groq LLaMA AI analyzes debt ratios, revenue, payment history & industry risk
  3. A ZK attestation hash (256-bit cryptographic proof) is anchored on Midnight preprod blockchain
  4. Share only the 64-character hash with any lender

Lender flow:

  1. Paste the ZK hash in the Lender Verification Portal
  2. Midnight's ZK layer returns only pass/fail — does this borrower clear the threshold?
  3. Actual score, revenue, debt, expenses — cryptographically inaccessible. Forever.

🛠️ How We Built It

  • Midnight Network (preprod) — ZK attestation anchoring with selective disclosure. Only the threshold result is public; all financials are shielded
  • Groq LLaMA — Sub-second AI credit analysis with explainable reasoning and risk factor extraction
  • FastAPI + Python — REST API with /score, /attest, /verify/{id}, and /attestations endpoints
  • React + Vite + TypeScript — Animated ZK proof visualizer, live Midnight chain explorer, glassmorphism UI
  • Vercel + Render — Production deployment

Midnight wallet: mn_addr_preprod1854xsmn378gqh9pe5t0pm8s329qq7mnym8cspzc8nfase6cjrvrq8q6qkl

🤖 AI Track Alignment

This directly demonstrates that powerful AI doesn't have to cost privacy. Groq LLaMA generates detailed credit assessments — but the output is committed to a ZK hash. The AI is powerful AND private simultaneously.

⚡ Challenges

  • Designing UX that explains zero-knowledge proofs to non-technical lenders
  • Making lender verification feel trustworthy with only a 64-character hash
  • Building a live Midnight chain explorer that reflects real attestations

🏆 Accomplishments

  • ✅ Full end-to-end working product: apply → score → attest → verify
  • ✅ Live Midnight chain explorer showing real on-chain attestations
  • ✅ ZK proof visualizer educating users on hash anatomy & ZK properties
  • ✅ Production deployed with zero downtime
  • ✅ Landing page with business model, FAQ & $3.5T market sizing

🚀 What's Next

  • Integrate 1AM wallet for native Midnight shielded transactions
  • Write Compact smart contract for true on-chain threshold verification
  • Multi-lender API with custom thresholds per institution
  • Apply to Midnight Build Club accelerator

Built With

Share this project:

Updates