No custom integration required. Composer works out-of-the-box with the LI.FI API, SDK, and Widget. If you already use LI.FI, you already have Composer.
Why Use Composer?
- Single Transaction Execution — Multiple actions completed in one transaction. Users sign once, pay gas once.
- Lower Gas Costs — Batching actions eliminates per-step transaction fees.
- Simulated Before Execution — The entire execution path is simulated before submitting onchain, preventing failed transactions and giving users certainty about outcomes.
- Atomic (Same-Chain) — Same-chain compositions execute atomically: all steps succeed or none do.
- Cross-Chain Composability — Composer plugs into LI.FI’s full routing engine for cross-chain swap + bridge + deposit flows.
- Works Everywhere — Available through the API, SDK, and Widget with zero additional integration.
Try It Out
Deposit 1 USDC into a Morpho vault on Base with a single API call:toToken to a supported protocol’s token address and Composer activates automatically. No extra parameters or configuration needed.
Run your first Composer transaction
Follow the step-by-step quickstart to execute your first Composer transaction in under 5 minutes.
Choose Your Integration Path
API
Direct REST API integration for full control over the Composer flow.
SDK
Use the LI.FI TypeScript SDK for managed execution, status tracking, and error handling.
Widget
Drop-in UI component — Composer works automatically with zero additional code.
How It Works
Composer uses two core components:- Onchain VM (Execution Engine) — A smart contract that can call any other onchain protocol or series of them, handling all execution without requiring users to understand blockchain interactions.
- eDSL and Compiler — A purpose-built domain-specific language to express contract interactions in TypeScript. This gets compiled to bytecode for the VM to execute onchain.
toToken, LI.FI’s routing engine automatically:
- Identifies the optimal path (swap, bridge, or both)
- Compiles the Composer instructions
- Simulates the full execution path
- Returns a ready-to-sign transaction
Deep dive into Composer architecture
Learn about the Onchain VM, eDSL compiler, dynamic calldata injection, and the full transaction lifecycle.
Supported Protocols
Composer currently supports the following protocols. The team is open to integration requests based on technical feasibility and community feedback.| Protocol | Type | Actions | Link |
|---|---|---|---|
| Morpho V1 & V2 | Lending / Vaults | Deposit, Withdraw | morpho.org |
| Aave V3 | Lending | Deposit, Withdraw | aave.com |
| Euler | Lending | Deposit, Withdraw | euler.finance |
| Pendle | Yield | Deposit, Withdraw | pendle.finance |
| Lido wstETH | Liquid Staking | Deposit, Withdraw | lido.fi |
| EtherFi | Liquid Staking | Deposit, Withdraw | ether.fi |
| Ethena | Yield | Deposit | ethena.fi |
| Kinetiq | Staking | Deposit | kinetiq.xyz |
| Kinetiq Earn (vkHYPE) | Yield | Deposit | kinetiq.xyz |
| Felix Vanilla | Vaults | Deposit, Withdraw | usefelix.xyz |
| HyperLend | Lending | Deposit, Withdraw | hyperlend.finance |
| Maple | Lending | Deposit | maple.finance |
| Neverland | Vaults | Deposit, Withdraw | neverland.money |
| USDai | Yield | Deposit, Withdraw | usd.ai |
| Seamless | Lending | Deposit, Withdraw | seamlessprotocol.com |
Full protocol reference
View all supported protocols, their types, actions, and links.
Who Is Composer For?
Wallet & DeFi Platforms
Wallet & DeFi Platforms
Offer users sophisticated onchain actions directly in your app. Composer reduces user friction while expanding the breadth of DeFi operations your platform supports. Create campaigns for user engagement — e.g., “deposit into new protocol” promotions.
Onchain Protocols (Lending, Staking, Vaults)
Onchain Protocols (Lending, Staking, Vaults)
Enable 1-click cross-chain deposits into your protocol. Users with assets on any supported chain can deposit into your protocol without leaving their current app.
Protocol Teams
Protocol Teams
Get your protocol integrated as a Composer target to expand user accessibility and adoption. Partner protocols can be invited to the Composer backend codebase. See For Protocol Teams.
Current Limitations
- EVM chains only — No Solana or non-EVM chain support yet
- Tokenised positions only — Composer targets must return a token (e.g., vault tokens, LP tokens, LSTs)

