Overview
Locale Lending dApp Overview

Overview
Locale connects borrowers seeking capital with investors looking for yield through transparent, on-chain lending pools. The platform uses privacy-preserving verification to assess creditworthiness without exposing sensitive financial data.
The Three Participants
1. Borrowers
Businesses or individuals seeking loans with:
Privacy-preserving identity verification
Bank account connection for cash flow analysis
Dynamic interest rates based on financial health
2. Investors
Capital providers earning yield by:
Staking USDC in diversified lending pools
Receiving share tokens representing their stake
Earning returns from borrower interest payments
3. Pool Managers
Platform administrators who:
Create and configure lending pools
Set risk parameters and fees
Monitor pool health and performance
The Lending Flow
Key Components
1. Identity Verification (KYC)
Borrowers verify their identity through Plaid's identity verification service:
Document Upload - Government ID + selfie
Data Verification - Name, DOB, address matching
Credential Issuance - Soulbound NFT minted on-chain
The BorrowerCredential is non-transferable and proves KYC completion without exposing personal data.
2. Bank Connection
Borrowers connect their bank account via Plaid OAuth:
Read-only access to transaction history
No ability to move funds
Encrypted storage of access tokens
Automatic sync for ongoing monitoring
3. DSCR Calculation
The Debt Service Coverage Ratio (DSCR) determines loan eligibility and interest rates:
≥ 1.50
Low
5%
1.25 - 1.49
Medium-Low
7%
1.00 - 1.24
Medium
10%
< 1.00
High
15%
DSCR is calculated off-chain via Cartesi rollups and verified on-chain via zero-knowledge proofs.
4. zkTLS Verification
Locale uses zkTLS (via Reclaim Protocol) to prove data authenticity:
TLS Session - Bank data fetched over HTTPS
Commitment - Hash of data committed on-chain
Zero-Knowledge Proof - Proves data validity without revealing contents
Verification - Smart contract verifies proof
This ensures borrower data is authentic without exposing sensitive information.
5. Lending Pools
Investors stake in pools with specific characteristics:
Small Business
Working capital loans
Medium
Real Estate
Property-backed loans
Lower
Consumer
Personal loans
Higher
Mixed
Diversified portfolio
Balanced
Each pool has:
Minimum stake amount
Management fees (basis points)
Performance fees (on returns)
Cooldown period for withdrawals
6. Smart Contract Interaction
All fund flows happen through audited smart contracts:
Security Measures
Smart Contracts
UUPS upgradeable, role-based access
Credentials
Soulbound (non-transferable)
Bank Data
Encrypted, read-only access
DSCR Proofs
Zero-knowledge verification
Funds
Multi-sig admin controls
What Happens When...
A Borrower Defaults?
Loan marked as defaulted after grace period
Pool absorbs loss (distributed across investors)
Borrower credential may be revoked
Collection procedures initiated
An Investor Wants to Withdraw?
Request unstake (initiates cooldown)
Wait 7-day cooldown period
Complete unstake to receive USDC
Shares burned, funds returned
Interest Rates Need Adjustment?
DSCR recalculated based on new transactions
Rate change proposed via Cartesi notice
Admin approval required (if > 2% change)
Smart contract updated
Last updated