🌙 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:
- Enter business financials — data never leaves your browser unencrypted
- Groq LLaMA AI analyzes debt ratios, revenue, payment history & industry risk
- A ZK attestation hash (256-bit cryptographic proof) is anchored on Midnight preprod blockchain
- Share only the 64-character hash with any lender
Lender flow:
- Paste the ZK hash in the Lender Verification Portal
- Midnight's ZK layer returns only pass/fail — does this borrower clear the threshold?
- 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/attestationsendpoints - 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
- fastapi
- groq
- llama
- midnight-network
- python
- react
- render
- typescript
- vercel
- vite
- zero-knowledge-proofs

Log in or sign up for Devpost to join the conversation.