LI.FI Composer
The development platform for onchain trading.
Build any onchain flow across chains, from your app, your backend or your agent. Start from a template that already works.
Start with your app
Featured flows
Earn
9:41
EarnYour app
MMorpho · USDCBaseVariable
AAave · USDCBaseVariable
EEuler · USDCBaseVariable
Deposit
Deposit · Morpho USDC✕
Pay withWWETHBase$1,850
ccbBTCBase$920
$500
≈ 0.16 WETH · arrives as vault shares
Deposit
Simulated before you sign
2Swap to the vault token
✓Deposit
Deposit any token into a vault
Stocks
9:41
StocksYour app
SStablecoin economy2 stocks · equal weight›
BBuild your ownPick stocks and weights›
MSTRx50%
CRCLon50%
Buy basket
Buy · Stablecoin economy✕
Pay withUUSDCEthereum$1,200
$500
Splits into MSTRx and CRCLon
Buy basket
Simulated before you sign
2Split by weight
✓Buy each stock token
Buy a basket of tokenized stocks
Perps
9:41
PerpsYour app
VenueLighter
MarketBTC-PERP
Margin available0.00 USDC
Deposit margin
Deposit margin✕
Pay withWWETHBase$2,140
UUSDTBase$640
PPEPEBase$85
$1,000
≈ 0.31 WETH · arrives as USDC margin on Lighter
Deposit and trade
Simulated before you sign
2Check the Lighter account
✓Swap and deposit into Lighter
Fund a perps account from any token
Trading orders
9:41
TradeYour app
ETH / USDC2,031.40
Position0.5 ETH
Order typeStop Loss
Limit
Take Profit
Stop Loss
Set stop loss
Stop Loss · ETH✕
Sell0.5 ETH
WhenETH ≤ 2,000
You get at least995 USDC
ExpiresIn 7 days
Place order
Funds stay in your wallet until it fills
2Price is watched
3Fills in one transaction
✓USDC to the user
LI.FI trading orders, powered by Composer
All flows
Hover a flow to preview it in an app. Click to open it.
Trade

Fund a perps account from any tokenComing
LI.FI trading orders, powered by ComposerComing

Buy a basket of tokenized stocks
Cross-chain limit ordersVisionEarn


Deposit any token into a vault

Deposit into a vault on another chain
Withdraw to any chain
Deposit from a Safe


