DARA

The Invisible Protocol | Encrypted DeFi on Aleo

About

## Wave 3 submission

DARA Lend - Privacy-First DeFi Lending on Aleo

The Problem

DeFi lending on transparent blockchains exposes collateral, debt, liquidation prices, and wallet identities. MEV bots exploit this visibility extracting hundreds of millions through front-running and liquidation sniping.

✅ What DARA Lend Solves

A privacy-first lending protocol built natively on Aleo using zero-knowledge proofs. Users supply ALEO credits as collateral and borrow USDCx stablecoin all position data encrypted inside private Aleo records. No one sees your collateral, debt, liquidation price, or identity.

🔐 Privacy Architecture

All individual data encrypted in private records. Only aggregate stats (TVL, total borrowed, loan count) are public for solvency verification. 5 out of 6 transitions use private token transfers (transfer_private_to_public, transfer_public_to_private), hiding participant identities at the transfer layer. Borrower address hashed via BHP256 in LiquidationAuth no raw address leak. Health factor computed client-side only, never on-chain.

Smart Contract — dara_lend_v5.aleo

🔗 https://testnet.explorer.provable.com/program/dara_lend_v5.aleo 445 lines · Leo 3.4.0 · 6 transitions · 5 private records · 11 public mappings

6 Transitions:

1️⃣ update_oracle_price (admin-only), 15% deviation cap, round replay protection, 5-block min interval 2️⃣ supply_collateral — private ALEO deposit via transfer_private_to_public, nonce bound to caller (grief prevention), min 0.1 ALEO 3️⃣ borrow — creates DebtPosition + LiquidationAuth, 0.5% origination fee, 70% max LTV, 100K USDCx circuit breaker, oracle freshness check 4️⃣ repay — consumes DebtPosition, USDCx via approval pattern, collateral returned as private record 5️⃣ liquidate — seizes collateral + 5% bonus as private record, liquidator identity hidden 6️⃣ withdraw_collateral — returns collateral as private credits record, withdrawer identity hidden

👤 Complete User Flow

1️⃣ Install Shield Wallet → get testnet ALEO 2️⃣ Convert public credits to private record (built-in) 3️⃣ Supply collateral — private deposit, identity hidden, receive encrypted CollateralReceipt 4️⃣ Borrow USDCx — up to 70% LTV, receive private DebtPosition + USDCx token 5️⃣ Monitor health factor + view positions (all client-side decryption) 6️⃣ Repay debt — reclaim collateral as private record + RepaymentReceipt 7️⃣ Withdraw collateral — return unused collateral, identity hidden 8️⃣ Liquidate — if position underwater, seize collateral + 5% bonus

🔑 Admin: oracle updates (on-chain validated), USDCx funding. Cannot access user records.

🔒 Dual-Record Pattern: Borrow creates DebtPosition (borrower) + LiquidationAuth (orchestrator). BHP256 hashed address. MEV bots see zero targets.

🔗live: https://dara-lend.vercel.app

🔗docs: https://dara-lend.vercel.app/docs 🔗video : https://youtu.be/mizXwxdkRSU

## Wave 4 submission

DARA Lend — Wave 4 | Privacy-First Multi-Collateral Lending on Aleo

Every position encrypted. Zero MEV. Zero surveillance. Built natively on Aleo's ZK infrastructure. DARA Lend encrypts all position data inside private Aleo records. Borrower addresses are BHP256-hashed. Health factor computed client-side only, never published on-chain.

─── Wave 4: Direct Response to Wave 3 Feedback ───

✅ Multi-Collateral — Supply ALEO, USDCx, or USAD. Borrow any token against any collateral at 70% LTV. 3 borrow pairs, 3 repay paths, 3 liquidation routes. ✅ Dual-Program Split — dara_lend_v7.aleo (21 transitions, 1,982,846 variables) + dara_lend_v7_vault.aleo (10 transitions, 822,245 variables) = 31 transitions, 2.8M compiled variables. ✅ Yield Vault — Deposit stablecoins → receive PoolShare private records → earn protocol fee yield → redeem anytime. ✅ Private Transfers — ZK relay atomically re-mints tokens to recipient, breaking sender–recipient on-chain link. ✅ Automated Orchestrator via Provable DPS (key differentiator):  Oracle: auto-pushes every 30 min (5-source median: CoinGecko, Coinbase, Binance.us, CryptoCompare, CMC)  Interest accrual: every 1 hour (when active loans exist)  Yield distribution: every 6 hours (when fees exceed threshold)  Liquidation sentinel: monitors every minute  Admin Panel remains as manual fallback — oracle, yield, interest, pause/resume available at any time. ✅ improve ui/ux

─── Programs & Verified Transactions ───

dara_lend_v7.aleo

Deploy: at17alxm45te8xjcuc8n4h6zajjf8ke5s0sa6tvvp4umwrwlmje4q8sjrnesl

dara_lend_v7_vault.aleo

Deploy: at16d0eejg60l3xatmxl6uyrvyajyuy3h6808d225dsac48chgf2yzsaxvdge

Live Bot Transactions (automated, on-chain): Oracle: at17ekfgajaupaluxa3ll5qg9etuwcwsnkzvhthcdl537du7ncp75psy3urac Interest: at1snr7vfdz83kfpgumahmx2a62cg7n3r7p33lenftueuyr2xqr0ypqhqygmc Yield: at1pepf7fuqgyvr48es3wpp58s7ry5rnq96xlz56ea3zyvyuncvag9qr7acdl

─── 7 Private Record Types ───

CollateralReceipt · DebtPosition · LiquidationAuth · RepaymentReceipt · LiquidationReceipt · PoolShare · PrivateTransferReceipt

─── Tech Stack ───

Contract: Leo 3.4.0 on Aleo Testnet

Frontend: React 18, TypeScript, Vite, Tailwind, Framer Motion, Zustand Backend: Express, Provable DPS, @provablehq/sdk Wallet: Shield Wallet

─── User Flow ───

Connect Wallet → Supply ALEO/USDCx/USAD (encrypted CollateralReceipt) → Borrow at 70% LTV (private DebtPosition) → Repay → Deposit Yield Vault (PoolShare) → Redeem with yield → Private Transfer (ZK relay)

Evolution: v5 (6 transitions, single collateral) → v6 (21 transitions, multi-collateral) → v7 (31 transitions, dual-program, yield vault, DPS automation)

App: https://dara-lend.vercel.app/

Docs: https://dara-lend.vercel.app/docs

Video: https://youtu.be/lYH5mnqVocw

## Wave 5 submission

DARA — The Invisible Protocol Encrypted DeFi Fortress on Aleo | 13 Contracts · 149 Transitions · ~10M ZK Variables Every position sealed. Every trade hidden. Every vote untraceable.

Full-stack private DeFi on Aleo: lending, borrowing, 4-market dark pool (ALEO/BTC/ETH/SOL), sealed-bid auctions, flash loans, yield vault, and governance — all encrypted in ZK proofs.

live: https://dara-lend.vercel.app

docs: https://dara-lend.vercel.app/docs video: https://youtu.be/UiHQ59vRUGg

◆wave 5 updates◆

━━━━━━━━━━━━━━━━━━━━━━━━ ◆ 13 CONTRACTS · 149 TX ━━━━━━━━━━━━━━━━━━━━━━━━

[1] dara_lend_v8 · 12 tx — Core lending. ALEO→USDCx at 50% LTV. Kink rate (2%/4%/75%, 80% optimal). 7-source oracle (Coinbase, Binance, MEXC, XT.com, CoinGecko, CryptoCompare, CMC).

[2] dara_lend_v8_credits · 12 tx — Reverse lending. USDCx→borrow ALEO. Own oracle. Bidirectional liquidation.

[3] dara_lend_v8_vault · 10 tx — Yield vault. PoolShare records. ZK private transfers.

[4] dara_lend_v8_gov_v3 · 12 tx — Private DAO. vote() NO finalize — zero trace. 1–30 day voting, delegation, 20% quorum.

[5–8] Dark Pool · 4 markets · 16 tx each: dp_credit_v5 ALEO/USDCx · dp_btc_v5 BTC/USDCx (÷1000) · dp_eth_v5 ETH/USDCx (÷100) · dp_sol_v5 SOL/USDCx (÷1) Batch TWAP, 2-of-3 threshold operators, limit orders, partial fills, residual carry-forward, BPS fees, anti-MEV. Independent 7-source oracle each.

[9–11] Faucets · 6 tx each:

test_btc_v1 · test_eth_v1 · test_sol_v1 — 10 tokens/claim, 5/day per wallet.

[12] dara_auction_v1 · 10 tx — Sealed-bid auction. BHP256: hash(hash(bid)+secret). 15min–7day.

[13] dara_flash_v1 · 11 tx — Flash loans. 102% collateral, 0.09% fee. ALEO↔USDCx. 4-step atomic.

━━━━━━━━━━━━━━━━━━━━━━━━

◆ 15+ ENCRYPTED RECORDS ━━━━━━━━━━━━━━━━━━━━━━━━

DebtPosition · PoolShare · GovernanceToken · OrderCommitment · OrderAuth · FillReceipt · ResidualOrder · SealedBid · AuctionWin · FlashLoanReceipt Health factors client-side only. Aggregates on-chain for solvency.

7 Bots · Provable DPS (JWT · zero-gas · nonce queue): Oracle 30min 7-source median · Interest 1hr · Yield 6hr · Liquidation 1min · Dark Pool 5min (pipeline: oracle→propose→approve→match→advance ×4 markets) · Auction 5min · Flash Oracle 30min

━━━━━━━━━━━━━━━━━━━━━━━━

◆ KEY PARAMETERS ━━━━━━━━━━━━━━━━━━━━━━━━

50% LTV · 5% liq bonus · 0.5% origination · 0.09% flash · 5 BPS dark pool · 15% max oracle dev · 102% flash collateral · 6-decimal (1M = 1.0)

Leo 4.0 · React 18 · Vite · TypeScript · Tailwind · Express.js · Provable DPS · Shield Wallet · Vercel + Render

DeFi Without Being Watched.

Prizes

  • Wave 5 grant · 178 USDT

From the public Akindo product page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

No public repo linked, so we can't tell.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.