Skip to content

Hyperliquid9 min read

Perp DEX vs centralized exchange: what changes for traders and operators

Perp DEX vs CEX compared on custody, matching, transparency, onboarding, fees, liquidity and risk, plus what a terminal operator still has to run.

, Founder of Hypr Markets

Published

On this page

A perpetual future works the same way on both kinds of venue: no expiry, margin, leverage and funding payments. What differs in a perp DEX vs CEX comparison is everything around the contract: who holds the money, where orders are matched, who can see the trades, how you sign up and what can go wrong.

This post is for traders choosing where to trade and for operators deciding whether to run a trading site on a decentralized exchange. It uses Hyperliquid as the worked example, because its documentation spells out each mechanism. It is not legal, tax or investment advice.

At the end you will have a side-by-side table, the main risks on each side, and a clear split between the jobs a non-custodial terminal hands to the exchange and the jobs that stay with the operator.

What is a perp DEX

A perpetual future is a derivative with no expiry date. Instead of settling on a date, it uses funding payments between longs and shorts to keep its price close to the underlying asset.

A perp DEX is a decentralized exchange for these contracts. The exchange logic runs on a blockchain, and traders connect a wallet instead of opening an account. Designs vary. Some price trades from a liquidity pool and an oracle, some match orders off chain and settle on chain, and some run the full order book on chain.

Hyperliquid is the third kind. It is its own blockchain, and its order book is part of the chain's state: every order, cancel, trade and liquidation is an on-chain transaction. Our guide what is Hyperliquid covers the architecture.

Custody: a wallet vs an exchange account

On a CEX, you send funds to addresses the exchange controls. From then on your balance is an entry in the exchange's database, and a withdrawal happens when the exchange processes it. That works as long as the exchange is solvent and honest. When FTX collapsed in 2022, the SEC alleged the undisclosed diversion of FTX customers' funds to Alameda Research, a crypto hedge fund privately held by its founder.

On Hyperliquid, the account is a wallet address. The support docs put it simply: Hyperliquid is non-custodial, and only someone with the private key can sign transactions for that address. The trader signs every order and every withdrawal, and the validators then send the withdrawal to the bridge.

The trade-off is responsibility. Nobody can reset a lost key, and a phished key is as good as stolen. The same support page recommends hardware wallets and treating any compromised address as permanently unsafe.

Matching and settlement

A CEX runs a private matching engine. Trades settle as entries in its internal ledger, and only deposits and withdrawals touch a blockchain. You trust the exchange's records of fills, fees and liquidations.

Hyperliquid's order book works much like a CEX book (price-time priority, tick and lot sizes), but it lives on chain with one-block finality. Two details are specific to an on-chain book:

  • Margin is checked twice: when an order is placed, and again for the resting side when it matches.
  • Ordering inside a block is rule-based. Cancels, and actions that send no GTC or IOC orders (post-only orders, for example), are processed before orders that can take liquidity. In practice, post-only quotes and cancels go ahead of orders that could hit them.

Transparency

On a CEX, the order book is public but positions are not. Only the exchange knows who holds what and where their liquidation prices sit.

On Hyperliquid, the info endpoint returns any address's positions and margin when given the address. Addresses are pseudonymous, but positions, fills and liquidations are visible to anyone who looks. That cuts both ways: anyone can audit the venue, and anyone can watch a large trader.

The rules are public too. Hyperliquid's market making page states there is no designated market maker program, no special fees and no latency advantages. Liquidations go to the public order book first, and the liquidations page notes that, unlike CEXs, there is no clearance fee on them.

Onboarding

Most centralized exchanges open with an account: email, password and, in many cases, an identity check before you can deposit or trade. What is required depends on the exchange and the country.

Hyperliquid's onboarding guide has three steps: connect a wallet, sign one gas-free message to enable trading, and deposit collateral, usually USDC on Arbitrum. An email login is also offered.

A front end built on Hyperliquid can add its own checks, such as country blocks, sanctions screening or identity verification. Whether those are required depends on who you are, who your clients are and where. That is a question for a lawyer, not for an exchange's design.

Fees

Both kinds of venue charge tiered maker and taker fees, and both have funding. Compare the all-in cost: trading fee, any front-end fee, funding, spread and slippage, and the cost of moving money in and out.

On Hyperliquid, the fee schedule starts at 0.045% taker and 0.015% maker on perps and falls with 14-day volume. A third-party front end may add a builder fee on top, capped at 0.1% on perps. Funding uses the 8-hour formula common on centralized exchanges but is paid every hour, peer to peer, with no fee taken and a cap of 0.5% per hour. Trading is gas-free; deposits need gas on the source chain, and withdrawals carried a $1 fee at the time of the docs' writing.

An example: a $10,000 position opened and closed with market orders on Hyperliquid's base tier costs $4.50 per fill in exchange fees, $9.00 in total. Through a front end charging a 0.05% builder fee, the total is $19.00. Run the same round trip through your CEX's published schedule to compare. Hyperliquid fees explained covers tiers and discounts.

Liquidity

A CEX's liquidity comes from its own users and from market makers, often under agreements that are not public.

On Hyperliquid, every front end trades against the same order books, so a small new terminal sees the same depth as the largest one. Liquidity comes from independent market makers and from HLP, a community-owned protocol vault that runs market making strategies and performs liquidations.

The two worlds are also linked. Hyperliquid's oracle is a weighted median of spot prices from centralized exchanges and Hyperliquid itself, so funding and margining on the DEX still lean on CEX prices. On any venue, depth differs by market: check the book at the size you trade.

Risks on each side

At a centralized exchange

  • Counterparty and insolvency risk. The exchange holds your assets. If it fails or misuses them, withdrawals can stop and customers depend on its books and on court proceedings.
  • Account risk. The exchange can freeze or close an account under its own rules.
  • Opacity. You cannot see other users' positions or verify the exchange's internal ledger yourself.
  • Liquidation under the exchange's own rules.

On a perp DEX (Hyperliquid as the example)

  • Bridge risk. USDC is minted natively through Circle's CCTP, and a deprecated legacy bridge from Arbitrum still holds under 10% of the supply, per the USDC page. Each route is software that can fail.
  • Chain and validator risk. The active set is the top 27 validators by stake. They also publish the oracle prices and vote on delistings.
  • Software risk. Node software, bridge contracts and HyperEVM apps can have bugs.
  • Liquidation risk. Below maintenance margin, positions are closed on the book. Further down, a backstop liquidation takes over and the trader loses the maintenance margin, and auto-deleveraging can close profitable positions if an account goes negative.
  • Key risk. Lose the key and nobody can restore the account.

How margin mode changes what you can lose is covered in isolated vs cross margin.

Perp DEX vs CEX: the comparison table

TopicCentralized exchangePerp DEX (Hyperliquid)
CustodyExchange holds depositsTrader's wallet key controls the account
AccountExchange account, often with identity checksA wallet address
MatchingPrivate matching engineOn-chain order book, price-time priority
SettlementInternal ledger entryChain state, one-block finality
TransparencyPositions private to the exchangeOrders, fills and positions public by address
Trading feesExchange's scheduleHyperliquid's schedule, plus any builder fee
FundingExchange's rulesHourly, peer to peer, capped at 0.5% per hour
LiquidityExchange's users and market makersOne shared book: independent makers and HLP
LiquidationExchange's rulesBook first, then backstop vault, then ADL
Main risksInsolvency, misuse of funds, frozen accountsBridge, validator, oracle and software risk, lost keys

What changes for operators

An operator is the person or company running a branded trading site, a terminal, for clients. On a CEX model that means building or licensing an exchange. On a non-custodial model it means running a front end on someone else's exchange. White-label crypto exchange vs Hyperliquid terminal compares the two in depth.

What a non-custodial terminal does not have to run

  • A matching engine. Hyperliquid matches and settles every trade.
  • Custody. Clients connect their own wallets. On Hypr Markets, neither the platform nor the operator holds or can move client funds.
  • Liquidity. Every terminal shares Hyperliquid's order books. There are no market makers to recruit.
  • Margin, liquidations and price feeds. All of it runs on Hyperliquid under its published rules.

If you are weighing whether to build the front end yourself, build your own vs Hypr Markets sets out the work involved.

What remains the operator's job

  • Compliance. Licensing, consumer protection, marketing rules, sanctions and tax, in every country you serve. Hypr Markets includes a baseline country block, your own blocked countries, wallet screening against the US OFAC sanctions list and hosted terms, privacy and risk pages, but the software does not make anyone compliant. Compliance responsibilities lists what stays with you.
  • Support. Clients will ask you, not Hyperliquid, why they were liquidated or where a deposit went.
  • Marketing. Bringing clients in, without promising returns.
  • Your fee and your markets. The builder fee is capped at 0.1% on perps, and the address receiving it must hold at least 100 USDC of perps account value. Stocks and forex markets can raise extra rules.

Frequently asked questions

Is a perp DEX safer than a centralized exchange?

Neither is safe by default. A perp DEX like Hyperliquid removes the risk of an exchange holding and misusing your deposits, but adds bridge, chain, oracle and software risk, and puts key security on you. Leveraged positions can be liquidated on both.

Do you need KYC to trade on a perp DEX?

Hyperliquid's own onboarding guide asks for a wallet (or an email login) and collateral, and describes no identity check. Front ends built on it may add their own checks. Which rules apply depends on where you and the site's operator are; this is not legal advice.

Are trades on Hyperliquid public?

Yes. Orders, trades and liquidations are on-chain transactions, and Hyperliquid's public API returns any address's positions and margin. Addresses are pseudonymous, but anyone can follow what a given address does.

What does a terminal operator not have to build on a perp DEX?

On a non-custodial terminal over Hyperliquid, the operator does not run a matching engine, hold client funds or recruit liquidity: Hyperliquid matches and settles every trade on shared order books. Compliance, client support, marketing and fee setting remain the operator's responsibility.

All articles