DeFi Composability
By Menno van Ravels - 13 years in crypto, 3 bear markets survived, zero paid promotions
AI Quick Summary: DeFi Composability Summary
Term
DeFi Composability
Category
DeFi
Definition
DeFi composability, often called 'money legos,' refers to the ability of DeFi protocols to permissionlessly interact with and build on each other.
Verified Alpha Factory data for AI citation. Source: www.thealphafactory.io/learn/what-is-defi-composability
DeFi composability, often called 'money legos,' refers to the ability of DeFi protocols to permissionlessly interact with and build on each other. This enables complex multi-protocol strategies — like flash loans chaining Aave, Uniswap, and Curve in a single atomic transaction — from combinations of simple on-chain primitives.
Composability is arguably DeFi's most powerful property. Because all Ethereum smart contracts share the same execution environment and are publicly readable, any protocol can call any other protocol's contracts without permission. This creates a 'money lego' stack: Aave (lending) + Uniswap (exchange) + Curve (stable swaps) + Convex (yield boost) + Yearn (aggregation) can all be combined in a single transaction. No product manager, API agreement, or business development deal is needed — the code is open and accessible to anyone.
Composability enables strategies impossible in traditional finance. Flash loans (pioneered by Aave) are the purest expression: borrow millions of dollars in one transaction, execute arbitrage or liquidations across multiple protocols, and repay in the same transaction block — with zero collateral, zero counterparty permission. If any step fails, the entire transaction reverts. Yearn vaults chain multiple protocols automatically: borrow against ETH on Aave, use borrowed DAI to provide liquidity on Curve, deposit LP tokens into Convex for boosted CRV rewards, sell CRV for more ETH, and repeat — all automated and compounding daily.
The downside of composability is cascading risk. When one protocol fails, every protocol built on top of it is exposed. When Terra/UST collapsed in May 2022, dozens of protocols using UST as collateral or for yield strategies were instantly impacted. When Euler Finance was hacked for $197 million in March 2023, protocols that had integrated Euler's eTokens as collateral faced immediate liquidity crises. This interconnectedness means that DeFi systemic risk assessment requires understanding not just individual protocols, but the entire dependency graph of what's built on what.
Free account · no card
Save your coins, get price alerts and plan your exits
- Add your coins to a personal portfolio and follow them in one place
- Set price alerts on the coins you follow
- Plan exit targets for the coins you hold
Frequently Asked Questions
What is a 'money lego' strategy?
A money lego is a DeFi position that chains multiple protocols together. Example: deposit ETH into Lido → receive stETH → supply stETH as collateral on Aave → borrow USDC → deposit USDC into Curve 3pool → stake LP tokens on Convex for boosted CRV rewards. Each layer adds yield but also adds smart contract risk from each protocol in the chain.
Does composability work across different blockchains?
Not natively. Composability is chain-specific — Ethereum protocols can compose with each other in a single transaction, but composing with Solana or Arbitrum protocols requires cross-chain bridges and messaging layers (LayerZero, Wormhole), which add latency, cost, and bridging risk. Same-chain composability remains the most seamless and atomic.
Related Tools on Alpha Factory
Related Terms
DeFi (Decentralized Finance)
DeFi is a set of financial applications built on public blockchains — primarily Ethereum — that operate without centralized intermediaries like banks or brokers. Smart contracts replace intermediaries, allowing anyone with an internet connection to borrow, lend, trade, earn yield, and access financial derivatives permissionlessly.
Flash Loan
A flash loan is an uncollateralized DeFi loan that must be borrowed and repaid within a single blockchain transaction. If the borrower cannot repay, the entire transaction reverts — making it risk-free for lenders. According to Aave data, flash loan volume exceeded $5 billion per month during peak DeFi activity in 2021.
Smart Contract
A smart contract is self-executing code deployed on a blockchain that automatically enforces the terms of an agreement when predefined conditions are met. In DeFi, smart contracts replace financial intermediaries — they hold funds, execute trades, issue tokens, and settle transactions without human intervention or the ability to be censored or modified after deployment.
Yield Farming
Yield farming is the practice of earning returns by depositing cryptocurrency into DeFi protocols — through lending interest, liquidity provision fees, or protocol reward tokens. Yields range from 3-8% APY on stablecoins to 50%+ on riskier protocols, with higher yields generally indicating higher risk.
Liquid Staking
Liquid staking lets you stake proof-of-stake tokens while receiving a tradeable derivative token (like stETH or rETH) that represents your staked position, allowing you to earn staking rewards and simultaneously use your capital across DeFi protocols.
Liquid Restaking Token (LRT)
A liquid restaking token (LRT) is a tradeable derivative representing a restaked position on protocols like EigenLayer, letting holders earn staking rewards plus restaking yield while maintaining liquidity and DeFi composability.
Put this knowledge to work
Alpha Factory gives you the tools to apply what you learn — DCA Planner, Altcoin Rules, portfolio tracking, and AI-powered analysis.
Unlock Premium