
Restless
The first escrow that earns yield while awaiting deal completion — capital should never sleep.
Demo
About
Restless is an escrow primitive that auto-deposits locked funds into Aave to earn yield while waiting for deal completion. When the deal settles, both parties get their expected outcome PLUS the yield earned during the escrow period. **"Client locked $5000. While they waited 2 weeks, it earned $23 in Aave. Deal completed. Seller got $5023. Zero trust needed. Zero idle capital."**
How it's made
## Technical Architecture ### Smart Contracts (Solidity) - **RestlessEscrow.sol** — Core escrow logic: create deal, fund, complete, dispute, timeout - **AaveYieldAdapter.sol** — Handles deposit/withdraw to Aave V3 (aUSDC) - **Settlement.sol** — Handles payout logic, yield splitting, cross-chain routing via LI.FI ### State Channels (Yellow/Nitrolite) - Off-chain milestone tracking and approvals - Gasless back-and-forth between parties - Final state submitted on-chain for settlement - Maps directly to ERC-7824 state channel patterns ### Cross-Chain (LI.FI) - Party B can receive payment on any chain - LI.FI SDK routes settlement to destination chain - "Fund on Ethereum, receive on Arbitrum" ### Identity (ENS) - Deals reference ENS names instead of addresses - Deal pages show "alice.eth → bob.eth" - ENS text records could store deal preferences ### Frontend - Next.js app - Deal creation wizard - Real-time yield tracker ("your escrow has earned $X so far") - Deal status timeline - Settlement confirmation