What Is a DEX (Decentralized Exchange)?

A DEX (decentralized exchange) is a crypto exchange where you trade directly from your own wallet, with trades settled on-chain by smart contracts or an on-chain order book instead of a custodial company. You keep custody of your funds the whole time, and most DEXs are permissionless — no account signup or KYC to start.

How a DEX works

Instead of depositing funds with a company, you connect a wallet you control. Trades execute on-chain — either through an automated market maker (AMM) that prices swaps against liquidity pools, or through an on-chain order book that matches buyers and sellers like a traditional exchange. Settlement is transparent and verifiable on the blockchain, and your funds never leave your control until a trade executes.

DEX vs CEX (centralized exchange)

On a centralized exchange (CEX) you deposit funds into the company's custody and trust it to hold, secure, and settle them. On a DEX you trade from your own wallet — no operator can freeze your account, lend out your funds, or go insolvent with your balance. Trade-offs: CEXs can offer fiat on-ramps and simpler onboarding, while DEXs offer self-custody, transparency, and permissionless access.

Types of DEX

Trade on a self-custody DEX

Rubin is a self-custody DEX for crypto perpetual futures and spot with an on-chain order book, 900+ markets, low fees, and an API + MCP server for bots and AI agents. Browse all markets or start with BTC-USD.

Frequently asked questions

What is a DEX?

A DEX (decentralized exchange) is a crypto exchange where you trade directly from your own wallet, with trades settled on-chain instead of by a custodial company. You keep custody of your funds, and most DEXs are permissionless with no account signup.

What is the difference between a DEX and a CEX?

On a centralized exchange (CEX) you deposit funds into the company's custody. On a DEX you trade from a wallet you control, trades settle on-chain, and no operator can freeze or lend out your funds. DEXs offer self-custody and transparency; CEXs often offer fiat on-ramps and simpler onboarding.

Are DEXs safe?

DEXs remove custodial risk — you keep control of your funds and no company can become insolvent with your balance. The main risks are smart-contract bugs and user error such as losing your wallet keys, so use audited, established platforms and secure your wallet.

Do I need KYC to use a DEX?

Most DEXs are permissionless and let you start trading from your own wallet without an account or KYC. On Rubin you can onboard in seconds with an existing wallet or email / social login.