Beginner Guides

What Is a Perp DEX and How Does It Work?

A perp DEX lets you trade perpetual futures from your own wallet. How the four main designs work, what happens when you place a trade, why traders use them, and the risks people underestimate.

Abstract geometric cover for a guide to perp DEXs

A perp DEX is an exchange for perpetual futures that runs onchain. You trade from a wallet you control, not from an account at a company that holds your money. Your positions, margin and liquidations are handled by code, and on most venues anyone can look at the trades.

A few years ago that was a niche. It isn't anymore. On 21 November 2026, onchain perp venues traded about $32 billion in 24 hours, roughly 27% of Binance futures volume, according to Castle Labs. Here's what's going on under the hood, and what you're trading off when you use one.

Perp DEX in one paragraph

You connect a wallet, deposit collateral (usually USDC), and open long or short positions on perpetual futures, contracts that track an asset's price and never expire. There's no sign-up form and, on many venues, no ID check. The venue matches your order, tracks your margin, charges or pays funding, and liquidates positions that run out of margin. The difference from a centralized exchange is who's doing that work and who's holding the collateral while it happens.

If perps themselves are new to you, start with what perpetual futures are and come back.

How a perp DEX differs from a centralized exchange

  • Custody. On a centralized exchange, the exchange holds your funds. On a perp DEX, your collateral sits in smart contracts or the venue's own chain, and only your keys can move it out.
  • Account. Centralized exchanges usually need KYC. Many perp DEXs just need a wallet, though some front-ends block certain countries.
  • Transparency. Onchain venues tend to publish trades and positions publicly. That's great for verifying track records and not so great if you'd rather nobody saw your liquidation price.
  • Who you trust. A centralized exchange asks you to trust a company. A perp DEX asks you to trust code, an oracle, and whoever controls the upgrade keys.
  • Funding cadence. Many centralized exchanges settle funding every 8 hours. Several perp DEXs, Hyperliquid among them, settle every hour.

The four ways perp DEXs actually work

"Perp DEX" covers designs that behave quite differently. Knowing which one you're on explains most of the quirks.

1. Order book on its own chain

The venue runs its own blockchain built for trading, with a full order book where buyers and sellers meet. Hyperliquid and dYdX work this way. Prices come from the book, the way they do on a centralized exchange, and an oracle is used for funding and liquidation checks.

This is the model with the deepest liquidity right now. Hyperliquid alone held about 54% of onchain perp open interest on 21 November 2026.

2. Order book on a rollup

Same idea, an order book, but settled on an Ethereum rollup and often proven with zero-knowledge proofs. Lighter is the best-known example. The pitch is that matching and liquidations can be verified rather than just trusted. Some of these venues offer zero fees to regular users and make it up elsewhere, for example by adding a small delay to retail orders.

3. Pool-based (oracle) perps

There's no order book. You trade against a liquidity pool at a price fed by an oracle. GMX and Jupiter Perps work this way. Fees usually include an opening and closing fee plus a borrow fee that depends on how heavily the pool is being used. GMX, for instance, charges a position fee of 0.04% or 0.06% depending on whether your trade balances or unbalances the pool.

4. Request for quote (RFQ)

You ask for a price and a market maker quotes you. Variational's Omni app uses this model with zero trading fees, earning on the spread instead. RFQ makes it easier to list lots of long-tail markets, since you don't need a full order book for each one.

What happens when you place a trade

The details vary by design, but the lifecycle looks roughly like this:

  1. Deposit. You send collateral from your wallet to the venue's contracts or chain.
  2. Order. You sign an order with your wallet. On order book venues it goes on the book; on pool venues it executes at the oracle price.
  3. Margin tracking. The venue tracks your position against a mark price. On Hyperliquid, for example, liquidations use a mark price that combines external exchange prices with the venue's own book.
  4. Funding. Longs and shorts pay each other on a schedule to keep the perp near spot.
  5. Liquidation. If your equity falls below maintenance margin, your position is closed. Venues use backstops like insurance funds, liquidity vaults and, as a last resort, auto-deleveraging.
  6. Withdraw. You pull your collateral back to your wallet. No one has to approve it, though some venues charge a small withdrawal fee.

Why traders use perp DEXs

  • Self-custody. Your funds aren't sitting on a company's balance sheet.
  • No account setup on many venues.
  • Verifiable activity. Anyone can check what a wallet actually traded, wins and losses included. That's the foundation social trading is built on.
  • New markets fast. Some venues let outside teams launch their own markets, like Hyperliquid's HIP-3, which had 175 deployed markets with open interest or volume on 21 November.

The risks people underestimate

Self-custody doesn't mean no risk. It means different risk.

  • Admin keys and upgrades. Code can be fine and still get drained if the people who control upgrades are compromised. In April 2026, Solana perp venue Drift lost roughly $280 million after attackers spent months social-engineering their way into its admin controls.
  • Oracle risk. If the price feed is wrong or manipulated, liquidations can fire at the wrong prices.
  • Liquidity risk. Smaller venues can have thin books, so big orders slip and stops fill badly.
  • Bridge risk. Moving funds between chains adds another place where things can break.
  • Your own keys. Lose your seed phrase or sign a malicious transaction, and there's no support desk to call.
  • Transparency cuts both ways. Big positions and their liquidation levels are visible to everyone.

How to sanity-check a perp DEX before depositing

  • How deep is the order book (or pool) on the market you'll trade?
  • Who can upgrade the contracts, and is there a time delay?
  • What happens in a liquidation cascade: insurance fund, vault, ADL?
  • Where does the price feed come from?
  • Has it been audited, and has it had incidents?
  • Can you withdraw at any time, and what does it cost?

Start small on any new venue until you've done at least one full deposit, trade and withdrawal.

Where Pocket fits

Pocket is an onchain social trading app, starting with perps. Because trading is onchain, every idea on Pocket is tied to a real order and losses stay on the record. You follow traders, read their reasoning, and if you copy a trade you set your own size and stop. Your account is a wallet only you control. Join the early-access list at pocket.fi.

New to perps? Our beginner's guide to trading perpetuals walks through a first trade step by step.

This article is for education only and isn't financial advice.

FAQ

What is a perp DEX?

A perp DEX is a decentralized exchange for perpetual futures. You trade from a wallet you control instead of depositing into an exchange account, and trades, positions and liquidations are settled by smart contracts or the exchange's own blockchain.

Is a perp DEX safer than a centralized exchange?

It removes some risks and adds others. You don't have to trust an exchange to hold your funds, but you take on smart contract bugs, oracle failures, bridge risk and the risk of losing your own keys. Several perp DEXs have been drained through compromised admin keys, so check how a venue is secured before depositing.

Do perp DEXs require KYC?

Many perp DEXs don't ask for ID to trade onchain; you connect a wallet and deposit. Some front-ends block certain countries, and rules differ by jurisdiction, so check what applies where you live before trading.

What is a self-custody wallet?

A self-custody wallet is one where you, not an exchange or app, control the funds. No company can move or freeze your assets without your approval. Compared with keeping funds on a centralized exchange, this removes the risk of the platform losing or misusing your money.

BlogHelpTermsPrivacy Policy© Pocket