👋
Introduction
LemmaSwap is a new type of decentralized exchange (DEX) protocol that allows traders to execute spot swaps using an underlying perpetual futures exchange's liquidity.
- For traders:
- Deeper liquidity when executing spot swaps
- For liquidity providers:
- Highly composable ERC20 assets
- No impermanent loss
- Yield generation via spot trading fees and funding rate PnL
LemmaSwap holds assets such as ETH, BTC, USDC etc. on its balance sheet and acts as a counterparty to every trade while simultaneously hedging to keep its portfolio delta equal to one.
Liquidity providers can contribute to the assets on the LemmaSwap balance sheet in two ways:

USDL backed by hETH, hBTC and USDC
- By minting USDL — the LemmaSwap stablecoin, which is backed by pools of hedged assets (eg. hETH below is ETH + a short ETH position)
- By minting synthetic tokens, which are backed by a mix of spot assets and 1x long perpetual futures positions (eg. ETH*, a LemmaSwap synthetic asset can be backed by spot ETH and/or a long ETH perp)

ETH* backed by spot ETH and/or a 1x ETH long
Now let’s say a user wants to swap ETH for BTC, and LemmaSwap has USDL and synthetic BTC (BTC*) as liquidity on its balance sheet. This liquidity is used to execute swaps in two simple steps:
- The user deposits ETH and LemmaSwap hedges it by increasing its short ETH position by the same amount deposited
- LemmaSwap increases its long BTC position by the same USD amount of ETH deposited and sends back to the user the freed up BTC collateral

Swapping ETH for BTC
At all times, USDL is backed 1:1 with USDC or a ETH delta neutral position, and BTC* is backed 1:1 with a BTC spot or a 1x long BTC position.
Last modified 6mo ago