Sitemap

Why On-Chain Leverage Trading Is Still Broken

4 min readMar 25, 2026

--

And what it would take to solve it.

DeFi has had a remarkable run of solving hard problems.

Lending? Solved. Aave, Compound, and Kamino collectively hold over $50 billion in deposits. You can lend and borrow any major token on any major chain with battle-tested smart contracts.

Perps? Solved. Hyperliquid processes $30 billion a day. Jupiter Perps, Drift, and Flash Trade have brought perpetual contracts to Solana with deep liquidity and sub-second execution.

But there’s a category that sits between lending and perps that DeFi hasn’t cracked: leveraged spot trading.

Not synthetics. Not perpetual contracts. Actually buying the token — SOL, WIF, BONK, whatever — with borrowed capital. Owning it on-chain. Real token, real leverage.

This market is enormous on centralized exchanges. CEXs process over $50 billion in daily spot volume, and margin trading is a core product on every major platform — Binance, Bybit, and OKX all offer 3–10x spot margin. Yet on-chain, purpose-built infrastructure for it barely exists.

Here’s why.

The Perps Illusion

When most people think “leverage in DeFi,” they think perpetual contracts. Open a 5x long SOL on Jupiter Perps or Hyperliquid, and you get leveraged exposure to SOL’s price.

But you don’t own SOL.

You own a synthetic contract — a bet that settles in USDC. The SOL never touches your wallet. This distinction matters more than most traders realize:

  • No real token ownership. You can’t stake a perp position. You can’t receive airdrops on it. You can’t use it as collateral in another protocol. It’s a number in a database, not an asset on a blockchain.
  • Funding rate volatility is a constant distraction. Perps charge funding payments between longs and shorts that fluctuate wildly — you might be paying 50%+ annualized one day and earning the next. Managing this volatility becomes a full-time job on top of your actual trade. With spot margin, your cost is the borrow rate — known upfront, far less volatile.
  • Limited token coverage. Jupiter Perps supports 3 tokens. Hyperliquid supports ~30. Even the broadest perp exchanges cap out around 100 markets. Solana has thousands of actively traded tokens, with new ones launching every hour.

Perps solved leveraged speculation. They didn’t solve leveraged ownership.

The Lending Workaround

Some traders have found a workaround: “looping” through lending protocols.

The idea is simple. Deposit SOL as collateral on Kamino or MarginFi. Borrow USDC. Swap USDC for more SOL. Deposit that SOL. Borrow more USDC. Repeat.

After several rounds of looping, you’ve built up roughly 3–5x leveraged exposure to SOL (depending on the protocol’s LTV ratio). And you actually own the SOL.

Sounds clever. In practice, it’s painful:

Variable rates that spike at the worst time. Lending protocols set borrow rates algorithmically based on pool utilization. During a market pump — exactly when everyone wants leverage — utilization hits 95%+ and rates can jump from 5% to 200%+ annualized. Your cost of carry explodes precisely when you need leverage most.

No concept of a “position.” Lending protocols see a deposit and a borrow. Two independent accounting entries. There’s no entry price, no PnL tracking, no take-profit, no stop-loss. You’re managing a DeFi position, not trading.

Account-level liquidation. Protocols like Aave, Kamino, and MarginFi evaluate your entire account as one health factor. If one position deteriorates, it drags down your whole account — potentially liquidating collateral from a completely separate trade.

Token coverage is governance-gated. Want leveraged exposure to a new token that launched yesterday? You need the lending protocol’s risk council to approve it, set parameters, and add it to the pool. That takes weeks or months — by then, the trade is over.

Flash loans help, but don’t fix the fundamentals. Protocols like Kamino have built “Long/Short” products that compress the looping into a single flash-loan-powered transaction. This is a genuine UX improvement — one click instead of 15 loops. But the underlying problems remain: variable rates, no position isolation, limited token coverage, and the lending protocol has no awareness that a trade is happening — which means no PnL tracking, no position-specific risk management, and no ability to set take-profit or stop-loss at the protocol level.

The Actual Gap

Here’s what neither perps nor lending protocols provide:

A purpose-built system where lending exists to serve trading.

Not general-purpose borrowing where leverage is a hack on top. Not synthetic contracts where you never touch the real token. A system where:

  • Borrowing capital, routing through a DEX, and opening a leveraged position happens in one atomic transaction
  • Every trade is its own isolated account with its own collateral — no cross-contamination
  • Any token with a price feed can be traded with leverage — not just the top 20
  • Rates are transparent at the time of trade — no surprises mid-position
  • The infrastructure is embeddable — any app, bot, wallet, or AI agent can offer leveraged trading without building the lending, liquidation, and execution stack from scratch

This is the difference between a lending protocol that can be hacked into doing leverage, and a margin infrastructure layer that was designed for it from the ground up.

Why This Matters

Leveraged spot trading volume stays on centralized exchanges because on-chain infrastructure hasn’t been there. Traders who want real token ownership with borrowed capital have had two options: use a CEX, or suffer through the lending looping experience.

The gap isn’t a feature request. It’s an entire infrastructure layer that doesn’t exist yet.

Jupiter became the swap layer for Solana. Pyth and Switchboard became the oracle layer. There’s a strong case that Solana needs a margin layer — infrastructure that any application can plug into to offer leveraged spot trading, just as they plug into Jupiter for swaps.

This is the problem we’ve been working on at Lavarage for the past two years. We’ve been building the answer — and we’re about to ship the biggest upgrade in our protocol’s history.

More soon.

Follow @lavaragexyz and @quant_degen on X to stay in the loop.

--

--

Lavarage
Lavarage

Written by Lavarage

Your multi-chain non-custodial leveraged trading hub.