60 Portfolio Project Ideas for DeFi Developers
DeFi protocols want developers who understand the mechanics deeply. These projects will help you demonstrate expertise in liquidity, lending, derivatives, and protocol design.
AMM and DEX Projects
Build projects that demonstrate understanding of automated market makers and decentralized exchanges.
Constant Product AMM Clone
Build a Uniswap V2-style AMM from scratch with liquidity provision, swaps, and fee collection.
Concentrated Liquidity DEX
Implement Uniswap V3-style concentrated liquidity with range orders and position management.
Multi-hop Router
Build a router that finds optimal swap paths across multiple pools and DEXes.
Limit Order Book DEX
Create an on-chain order book exchange with limit orders, matching engine, and partial fills.
Stableswap Implementation
Build a Curve-style stableswap with the StableSwap invariant for low-slippage stable asset swaps.
TWAP Oracle from DEX
Implement a time-weighted average price oracle using cumulative prices from your AMM.
Lending Protocol Projects
Projects focused on lending, borrowing, and collateral management.
Simple Lending Protocol
Build a basic lending protocol with deposits, borrows, interest accrual, and liquidations.
Isolated Lending Markets
Create a Silo-style isolated lending market where each asset pair is a separate pool.
Interest Rate Model Simulator
Build a simulator that models different interest rate curves and their effects on utilization.
Liquidation Bot
Build a bot that monitors lending protocols and executes profitable liquidations.
Credit Delegation System
Implement Aave-style credit delegation allowing users to delegate their borrowing power.
Health Factor Dashboard
Create a dashboard that monitors positions across lending protocols and alerts on low health.
Yield and Vault Projects
Build yield optimization and vault management systems.
ERC-4626 Tokenized Vault
Implement the ERC-4626 standard for tokenized vaults with deposit, withdraw, and yield distribution.
Auto-compounding Vault
Build a vault that automatically harvests and compounds yield from underlying strategies.
Multi-strategy Vault
Create a Yearn-style vault that allocates funds across multiple yield strategies based on APY.
Yield Aggregator Dashboard
Build a dashboard comparing yields across protocols with TVL, APY, and risk metrics.
Leveraged Yield Strategy
Implement a strategy that uses recursive lending to achieve leveraged yield positions.
Vault Share Accounting
Deep dive into vault share calculation edge cases including donation attacks and rounding.
Derivatives and Synthetics
Build projects exploring on-chain derivatives and synthetic assets.
Perpetual Futures Contract
Implement a simplified perpetual futures contract with funding rates and liquidations.
Options Protocol
Build a basic options protocol with call and put options, strike prices, and expiration.
Synthetic Asset Minter
Create a protocol that mints synthetic assets backed by collateral with a stability mechanism.
Prediction Market
Build a prediction market where users can bet on binary outcomes with market-based pricing.
Funding Rate Arbitrage Bot
Create a bot that identifies funding rate arbitrage opportunities between perpetual venues.
Delta-Neutral Vault
Build a vault that maintains delta-neutral positions while earning yield from funding rates.
Infrastructure and Tools
Build tooling that supports DeFi development and operations.
Impermanent Loss Calculator
Build an interactive calculator showing IL for different price movements and fee scenarios.
Protocol Revenue Tracker
Create a dashboard tracking fee revenue across major DeFi protocols over time.
Flash Loan Executor
Build a modular flash loan executor that can chain arbitrary DeFi operations.
Position Manager
Create a contract that manages complex multi-protocol positions with one-click rebalancing.
Gas-Optimized Multicall
Build a multicall contract optimized for batching DeFi operations with minimal gas overhead.
DeFi Position Simulator
Build a simulator that shows how positions change under different market scenarios.
Tips from the field
- 1.
Focus on one vertical (lending, AMMs, derivatives) and go deep before broadening. Protocols want specialists.
- 2.
Always include economic attack analysis in your projects. Show you understand the incentive structures, not just the code.
- 3.
Study the top protocols by reading their code, not just their docs. The implementation details matter.
- 4.
Build on testnets first but deploy to mainnet when ready. Real money creates real learning experiences.
- 5.
Contribute to existing protocols before building from scratch. Pull requests to major protocols are powerful credentials.