Sitemap
Press enter or click to view image in full size

Why We Let Go of $200M

9 min readMay 14, 2026

--

Since launch in late 2024, Lavarage V1 facilitated the following on Solana mainnet:

  • $200M in on-chain spot margin volume
  • across 80,000+ positions
  • for 5,000+ different tokens, mostly long-tail

By every objective measure, Lavarage V1 worked. But we made a tough decision to throw most of it away…

Not because it failed. Because it proved the demand was real — and then showed us exactly where the ceiling was. Close to 10,000 unique wallets came to leverage long-tail Solana tokens that perp DEXes and CEXes wouldn’t touch. One integration partner alone is approaching $1M in fees through margin trading embedded on our SDK. The market was there. The engine needed to match it. So we rebuilt. New backend. New frontend. New transaction engine. Same audited smart contracts at the core — rebuilt around them, with targeted modifications where the new flexibility required them.

This article covers what V2 is, what the rebuild actually changed, and what it unlocks for the next phase.

Lavarage V2 lets anyone and their agents trade anything on Solana with leverage.

That’s not aspirational — it’s live. Here’s what each part of that actually means.

“Anything” — every tradable asset on Solana

Volume done on V1 was almost exclusively long-tail tokens — a subset of what’s tradable on Solana. We specifically wanted to start with long-tail tokens as that’s the most underserved in terms of leverage access, and our vision is to make leverage possible for all assets. V2’s rebuilt structure now supports the full asset spectrum on the same engine, which is basically any SPL token with liquidity. In 2026, this includes:

  • Major and long-tail digital asset tokens — WBTC to newly created meme tokens
  • RWAs like equities, commodities, real estates, etc — tokenized on the Solana chain
  • Prediction markets — tokenized Kalshi positions

There’s no listing process, no governance vote, no minimum market cap. When a lender creates a vault for a token, an oracle is automatically provisioned on-chain using @switchboardxyz, and that token becomes available for leverage trading, with margin liquidity coming from Lavarage and swap liquidity coming from existing DEXes.

Most leverage or lending and borrowing platforms list 50–150 tokens. Solana easily has thousands with real DEX liquidity. The structural reason perps and CEX listings can never follow us into the long tail is simple: they have to source and custody liquidity. We don’t. Lavarage is a “simple” lending layer on top of existing DEX swap liquidity — when a token trades on @JupiterExchange, it’s already eligible. No listing, no bootstrapping, no permission required. No new market needs to be created.

“Leverage” — long, short, or borrow

  1. Long — borrow capital from a lender vault, swap to the target token via Jupiter, hold the real token on-chain as collateral. Close = sell, repay loan, keep profit.
  2. Short (V2-new) — borrow the tokens from a lender vault, swap to USDC or other tokens, repay later when the token is cheaper. V1 was long-only.
  3. Borrow (V2-new) — deposit your tokens as collateral, borrow another token against them — using the same loan offers created for spot margin trading. This instantly makes us the lending and borrowing protocol that supports the most tokens on Solana.

All three lock a fixed interest rate when you open the position. No fluctuating rates to manage like on perps or other lending and borrowing platforms.

And every position is fully flexible after you open it (V2-new 🆕). Add collateral, reduce size, withdraw margin, compound profits, split one position into many, merge many into one — every action from a single modal. V1 was open-or-close. V2 makes every position a live, manageable trade.

“Anyone and their agents” — three surfaces, one engine

Lavarage V2 ships with three surfaces, all sitting on the same protocol underneath:

1. The V2 trading terminal (for humans).

A full-featured, mobile-optimized trading terminal with the depth and UX traders already know from the top centralized trading platforms.

  • Card funding via @moonpay — fiat to leveraged position in under a minute
  • TG alerts when positions move
  • Full trade history with CSV export
  • Keyboard shortcuts for power users

2. The Trading MCP (for AI agents).

250,000+ agents run on Solana daily. Until V2, none had leverage on a wide asset spectrum. We fixed that.

mcp.lavarage.xyz — any MCP-compatible AI tool (Claude, Cursor, ElizaOS, Virtuals, GRIFFAIN) can open, manage, and close margin positions natively. Solana Agent Kit plugin merged via @sendaifun: 12 actions, 15 tool methods, all integration tests passing on real on-chain trades. Agents are already on it. Multiple have discovered the MCP and are profitably trading meme tokens with leverage on Lavarage — without us advertising the integration once. They find the rails because the rails are open.

3. The SDK (for any platform that wants to offer 1 and 2 to its own users).

Any builder — a trading dApp, a Telegram bot, an agent framework, a structured-vault curator — can integrate the Lavarage SDK and offer their own users the same dApp + MCP experience natively, without redirecting away. One TypeScript integration unlocks long, short, and borrow on every asset with margin liquidity on Lavarage. SDK access is open — sign up here.

A CEX-feel onboarding when you want it

V2 also adds @privy_io wallet support — sign in with email, no browser extension, no per-transaction signing. Email to leveraged position in under a minute. Combined with auto-executing TP/SL, V2 closes the UX gap with the CEX platforms most traders already use. More automated trading tools incoming.

Why spot margin — in a perp world

V1 was a hit for meme tokens. That was the natural wedge: long-tail Solana assets with leverage available almost nowhere else. But the case for spot margin doesn’t end at memes — and that’s most of the reason we built V2 to cover everything.

Most on-chain leverage today is perp-based. Perpetual futures are synthetic — you’re trading a contract that tracks a price, you never hold the actual token. Spot margin is structurally different. When you open a long, you borrow capital, swap through Jupiter for the actual token, and hold it on-chain. Real DEX liquidity. Real price execution. Real composability. When you close, the token is sold, the loan is repaid, the profit (or loss) is yours. And if you repay the outstanding loan of a position, you get the collateral tokens. It’s as real as it gets.

That difference matters in five concrete ways:

  • Self-custodial throughout — your assets never leave you. Lavarage is non-custodial infrastructure, not a counterparty.
  • Real tokens, not synthetic — when you open a long, you actually hold the token. Airdrop eligibility, governance, full DeFi composability.
  • Isolated vaults with offers — exposure can’t cross-contaminate across markets. Pooled-liquidity exploits in 2026 made painfully clear what shared risk costs. Lavarage’s offer-based architecture makes that structurally impossible.
  • Fixed interest rate when you open — no funding-rate volatility compounding against you. You know your holding cost at open.
  • 0 risk of ADL — no auto-deleveraging. Your winning positions can’t be force-closed because someone else’s account couldn’t be liquidated.

For long-tail tokens, perps simply aren’t available — spot margin is the only on-chain option. For majors, perps are everywhere, but spot margin is the structurally safer, more composable choice. V2 is built so both audiences get the same engine.

What V2 actually is

V2 is not a version bump. It’s a new backend, a new frontend, a new trading terminal, a new SDK, and a rebuilt transaction engine — built around the same audited smart contracts, with targeted improvements to those contracts where the new flexible framework required them (see point 3). Three things changed at the engine level:

1. Optimized transactions end-to-end (loan → swap → position)

Every V2 trade is one Solana transaction. Borrow, swap, position open, liquidation guard — all atomic. One step fails, everything reverts. No partial states, no stuck positions, no manual retries.

The result: drastically improved landing rate, lower latency, lower slippage. MEV protection available on every trade.

Composing multiple DeFi operations into a single Solana transaction while respecting compute limits, handling Jupiter’s routing, managing oracle freshness, and enforcing lender terms is the engineering problem we spent months solving. And because Lavarage is built to support every tradable asset on Solana, the engine has to handle every token standard alongside it: classic SPL, Token-2022, and whatever new variants the chain ships next. The infrastructure has to keep up with the full asset spectrum.

2. On-chain oracle via @switchboardxyz

V1 ran a self-hosted pricing engine — a single point of failure, especially for a decentralized permission-less DeFi protocol. V2 replaces it with Switchboard On-Demand: decentralized on-chain price feeds with staleness enforcement at the protocol level. Major reliability and decentralization upgrade.

3. A more flexible framework

Fees, open LTVs, liquidation LTVs — all configurable per token / per offer. The biggest unlock: in V1, liquidation LTV was hardcoded at 90%, which mathematically capped max leverage at roughly 4x. That was workable for volatile long-tail tokens, but left almost no headroom for traders who wanted higher leverage on majors like wrapped BTC, ETH, or SOL. In V2, lenders set the LTVs themselves per asset. Max leverage is now bound by how much risk each lender is willing to underwrite for a given token — not by a hardcoded protocol parameter.

What a single SDK integration looks like — and what V2 unlocks

Our top integration partner — a Solana-based trading platform that embedded the Lavarage V1 SDK directly into their product — earned close to $1M in fees generated through that single integration. Their users opened leveraged margin positions without ever leaving the partner’s interface. No redirect, no wallet-switching, no separate account. Just margin trading, embedded natively into a product their users already trusted. And that was V1 — long-only, limited asset support, fewer features. The demand was there despite the limitations.

This is the template. A partner plugs in the Lavarage SDK. Their users get spot margin — long, short, or borrow — on the tokens they already care about, without leaving the partner’s product. Fee splitting is baked into every single transaction at the protocol level: each trade settles the partner’s share and Lavarage’s share atomically, on-chain, in the same transaction. No reconciliation, no manual payouts, no off-chain accounting. The split happens automatically on every trade.

The SDK doesn’t just bring the tech — it brings access to Lavarage’s lender liquidity. The same pool of margin capital that supported V1’s $200M+ in volume is now expanding under V2. A partner integrating today plugs into the deepest spot margin liquidity pool on Solana. Infrastructure and capital come with the integration.

Three categories of builders can plug in today:

  • Trading dApps and Telegram bots — any product where users already trade tokens. One integration unlocks spot margin across the entire token list — long, short, or borrow on the tokens they already support.
  • AI agent frameworks — any framework built on Claude, ElizaOS, Virtuals, or GRIFFAIN can plug mcp.lavarage.xyz into its toolset. No UI required; agents discover and use the trading tools natively.
  • Structured vaults and curators — fund managers and yield curators can build leveraged-yield products on long-tail tokens using Lavarage as the underlying margin engine. Curated exposure, fixed borrowing rates, isolated risk per vault. The structured-product layer sits on top.

If you’re building any of these, DM @Lavaragexyz on X — SDK access is open, apply here.

What’s next

V2 is what we set out to build on day 1: spot margin for every asset on Solana, AI agents trading natively, builders embedding it everywhere. V2 is live. The foundation is set. Here’s what we’re building toward:

Near-term:

  • Leverage support for prediction market positions on Kalshi
  • V2.1 for liquidity providers which includes staking V2 and a whole new lender experience — vault creation, offer management, yield dashboard and the lending MCP
  • Trading MCP refinements for AI agent frameworks

V2 is the foundation. Now we earn the reputation through infrastructure that actually works — one reliable trade, one integrated partner, one autonomous agent at a time.

Traders: Try V2 at v2.lavarage.xyz — pick any token, open a spot margin position in under a minute. 25 months of mainnet history. Audited smart contracts.

Builders: Integrate the SDK, apply here — DM @Lavaragexyz on X. SDK docs and sample repos are ready.

Agent builders: Plug mcp.lavarage.xyz into Claude, ElizaOS, Virtuals, or GRIFFAIN. It's live. Test it now.

Follow the build: @Lavaragexyz | @quant_degen | @usagemonkey_sol

--

--

Lavarage
Lavarage

Written by Lavarage

Your multi-chain non-custodial leveraged trading hub.