OnlyYield

OnlyYield - Patreon, but instead of paying creators with your money, you support them with yield!

OnlyYield

Created At

HackMoney 2026

Project Description

OnlyYield is like Patreon, but with a key difference: you keep your principal. Traditional creator support platforms work great - they enable direct support and exclusive content access. OnlyYield offers the same benefits while allowing you to support creators with yield - the passive income your money earns - instead of spending your principal. You keep your money, creators get supported, and you unlock exclusive content.

Traditional creator support platforms like Patreon are excellent - they enable creators to monetize their work and supporters to access exclusive content. However, when you support creators through traditional platforms, your money is spent and cannot be recovered.

Traditional Creator Support Flow: You pay $10/month to unlock exclusive content Your $10 supports the creator directly You get access to content while you're subscribed After 12 months, you've spent $120 supporting creators

In OnlyYield: You deposit $500 USDC (or any amount) - this is YOUR money, you keep it Your $500 earns ~5% APY = $25/year in yield You select creators to support (like subscribing on Patreon) OnlyYield automatically distributes the yield ($25/year) to your selected creators You get exclusive content access from creators (just like Patreon) Your $500 principal stays yours - you can withdraw it anytime

Architecture Decisions:

Why ERC-4626? Standardization: Industry standard for vault interfaces Composability: Other protocols can integrate with our vaults Share Calculation: Standardized share calculation prevents rounding errors Preview Functions: Users can preview deposits/withdrawals before executing

Why Per-User Yield Tracking? Fairness: Each user's yield is proportional to their share ownership Flexibility: Users can support different recipients Transparency: Users can query their yield at any time Granularity: Enables per-donation yield distribution

Why LI.FI Instead of Direct Bridges or Internal Swaps? Route Optimization: LI.FI finds the best bridge or swap route for each operation Unified Interface: One SDK for all cross-chain operations and token swaps Contract Calls: Enables atomic bridge + contract execution Status Tracking: Built-in status monitoring and explorer links Multi-Bridge/Multi-DEX: Automatically uses multiple bridges or DEXs if needed Better Rates: Aggregates liquidity across multiple DEXs for optimal swap rates Slippage Protection: Advanced routing minimizes slippage on large swaps Future-Proof: Easy to add new DEXs and bridges as they become available

How it's Made

How It's Made: OnlyYield uses a multi-layer architecture combining smart contracts, cross-chain infrastructure, and AI-driven optimization.

Smart Contract Layer (Base Mainnet):

YieldVault (ERC-4626) supplies assets to Aave V3 and accrues yield on aTokens YieldStrategy tracks per-user yield via lazy accumulation: userYield = (userShares / totalShares) * (currentAssets - lastReportedAssets)

YieldOrchestrator routes deposits/withdrawals across multi-asset strategies and harvests yield Per-user tracking avoids updating all users on each report, reducing gas

Cross-Chain Infrastructure (LI.FI): Deposits: LI.FI Composer bundles bridging and contract execution into one atomic transaction. Users sign once on their source chain; LI.FI bridges USDC to Base and executes YieldStrategy.deposit() atomically, removing manual steps

Yield Distribution: Operator harvests yield, claims per-user amounts, splits equally among creators, then uses LI.FI getRoutes() to bridge to each creator's preferred chain Withdrawals: After operator executes withdrawal on Base, LI.FI bridges funds back to the user's original chain

AI-Powered Yield Optimization: Python agent monitors APY for USDC, USDT, DAI, USDC.e on Aave V3 GPT-4 analyzes market data (APY trends, treasury balances, gas costs) and returns allocation percentages Agent executes swaps via LI.FI (aggregates across Uniswap, Curve, etc.) before depositing into strategies This approach uses LI.FI for better rates than single-DEX swaps

Impact: LI.FI reduced ~2000+ lines of bridge/DEX integration code to ~500 lines of SDK calls. The atomic bridge+deposit flow reduced user friction by ~80%—from 4+ manual steps to one click. The system supports deposits from any chain, yield optimization across multiple assets, and automatic cross-chain distribution to creators, all while preserving user principal.

background image mobile

Join the mailing list

Get the latest news and updates