Prediction-market performance-based lending with verifiable collateral and USDC recovery.
AQRA is a lending protocol for prediction-market traders. It combines dated trading-performance metrics with borrower-posted collateral, giving lenders a structured basis for credit decisions and an onchain recovery mechanism.
A borrower connects a wallet or ENS identity, loads Polymarket history, reviews a dated eligibility report and signs a loan request. The screening policy considers trading activity, repeat profitability, realized P&L efficiency and drawdown. A separate lender reviews the terms and committed evidence before funding. The collateral pilot supports a USDC bond, fully backed outcome-token pairs, and directional outcome shares with a prefunded recovery bid. For directional loans, the borrower locks shares and a bond while a backstop commits cash. Funding requires fresh valuation within an 80% debt-LTV limit. A fresh report crossing 90% debt LTV triggers early liquidation. The contract pays the lender from the bond and bid, then releases the shares to the backstop in a separate keeper action.
The benchmark covers 3,906 sampled Polymarket wallets and 11 monthly walk-forward rounds. The consistency cohort was profitable next month in 70.0% of evaluated wallet-months, compared with 73.6% for prior-month P&L ranking and 27.7% for a seeded baseline. These results measure trading outcomes. Repayment validation requires separate loan data.
Our public Arc Testnet replay recovered exactly 1.02 test USDC for the lender and delivered 2.4 outcome shares to the backstop. The run used recorded Polymarket prices, a labeled test score, Chainlink CRE CLI simulation and an operator-restricted report relay.
The application uses Next.js, React, TypeScript and viem. Solidity contracts hold monetary state and collateral on Arc Testnet. OpenZeppelin supplies standard token and reentrancy components, and Gnosis Conditional Tokens provide the test outcome shares. A Hono read API supplies dated evidence and report retrieval.
The research pipeline captures public Polymarket data, records source gaps and checks Polygon month-boundary blocks. At each cutoff, the walk-forward replay selects wallets using available history and evaluates the following month. The implementation keeps trader P&L, marked positions and loan repayment outcomes as separate data types.
Chainlink CRE combines EVM reads with external price inputs. Its servicing workflow checks the configured desk and keeper, validates escrow and report inputs, and produces mark or servicing reports. In the verified Arc run, the official CLI simulated three steps. A restricted operator relay delivered those reports to the testnet contracts. Live DON activation remains a separate deployment step.
Arkiv stores borrower-owned, expiring evidence listings. Swarm stores the borrower-consented report bytes. Before funding, the lender checks the retrieved report's SHA-256, evidence digest, wallet group, cutoff and terms against the onchain commitment. The full publication, reload, discovery and verification round trip has been exercised with local Arkiv and Bee.
Foundry tests cover repayment, default recovery, one-time release, authentication, chain/workflow binding, and stale or replayed reports. Chromium checks the lender screen against actual Arc receipts. Independent verification checks finalized receipt order, runtime hashes and historical token-balance deltas.

