# Credipro, privacy-preserving DeFi lending

> Credipro, built by Rishabh Kataria for the Midnight Network hackathon, lets borrowers prove creditworthiness with zero-knowledge proofs without revealing who they are.

**Credipro** is a lending protocol where borrowers prove they are creditworthy without revealing their identity or their score. **Rishabh Kataria** was its smart contract and protocol architect at the **Midnight Network Web3 Hackathon** (May 2026).

## The problem

Uncollateralized crypto lending runs into what Credipro calls the **Sybil default paradox**: lenders need to know who a borrower is so defaults have consequences, but borrowers do not want to expose their identity or finances on a public chain.

## The design

- **Zero-knowledge credit proofs.** A borrower proves a statement like "my score is above the threshold" with a zk-SNARK. The lender verifies the proof and learns nothing else. New to the idea? Read [what is a zero-knowledge proof](/guides/what-is-a-zero-knowledge-proof/).
- **Accountability only on default.** The borrower's identity is stored encrypted. If they default, a **2-of-3 oracle consensus** decrypts it, and only for the affected lender, under a Master Loan Agreement.
- **Full stack:** Compact smart contracts on Midnight, an Express oracle server and a React with Chakra UI frontend.

## Stack

Midnight SDK, Compact, zk-SNARKs over BLS12-381, TypeScript, Express, React and Docker.

Links: [code](https://github.com/nova-rishabh/Credipro)
