Ghostfund
Private DeFi yield vault using Chainlink CRE, Private Transactions, and ACE on Aave V3
What it is
GhostFund is a private DeFi yield vault deployed on Sepolia that solves a core problem in DeFi: every transaction is public, exposing fund managers to MEV attacks and front-running.
It uses three Chainlink primitives working together. CRE monitors Aave V3 lending rates every 5 minutes and generates signed yield recommendations with a 1-hour TTL. The vault owner reviews each recommendation before any funds move. Private Transactions handle fund distribution so sender identity stays hidden, using EIP-712 authorization and cryptographic withdraw tickets. ACE enforces three on-chain compliance policies: address allowlists, per-deposit caps, and an emergency pause circuit breaker.
How it Works
Smart contracts in Solidity (Foundry), frontend in Next.js + TypeScript + Tailwind. Chainlink CRE monitors Aave V3 APY every 5 minutes and generates signed yield recommendations with a 1-hour TTL. Private Transactions handle fund distribution using EIP-712 authorization and cryptographic withdraw tickets.
ACE enforces three on-chain policies (AllowPolicy, MaxPolicy, PausePolicy) through a PolicyEngine with a custom DepositExtractor for calldata parsing. All contracts deployed and verified on Sepolia. Frontend connects via wagmi/viem with real-time contract reads.
Links
Created by
- Mustapha Oluwadamilola