Simple Base SwapSimple Base SwapOpen app
← All articles
Jul 3, 2026·5 min read

What is a decentralized exchange (DEX), in plain English

baseswapsbeginnersguides
base

When you swap one token for another inside a self-custody wallet, you are using a decentralized exchange, usually shortened to DEX. The name sounds technical, but the idea is simple once you see what it replaces. This article explains what a DEX is, how it differs from a company like Coinbase or Binance, and the trade-offs to keep in mind.

Two kinds of exchange

There are two broad ways to trade a token.

The first is a centralized exchange, often called a CEX. Coinbase and Binance are the well known examples. You create an account, pass identity checks, and deposit money. From that point the company holds your funds and keeps a private ledger of who owns what. When you place a trade, the exchange matches you with another user internally and updates its own records. Your tokens do not move on a blockchain until you withdraw them. You are trusting the company to stay solvent, to process withdrawals, and to keep your balance safe.

The second is a decentralized exchange. A DEX is not a company holding your money. It is a set of smart contracts, which are small programs that run on a blockchain such as Base. When you trade on a DEX, the tokens move directly between your wallet and the contract, on-chain, in a single transaction. Nobody takes custody of your funds along the way. There is no account to open and no balance sitting with a third party.

How a DEX actually trades

Most centralized exchanges use an order book, which is a live list of buy and sell offers that get matched together. Early decentralized exchanges tried to copy that model on-chain and found it slow and expensive.

The design that won out is different. It is called an automated market maker, or AMM. Instead of matching you with another trader, an AMM holds a pool of two tokens and uses a simple formula to set the price. When you add one token to the pool, the formula tells the contract how much of the other token to give you back. The more you trade relative to the size of the pool, the more the price moves against you. That price movement is where slippage comes from.

The tokens in these pools are supplied by other users, called liquidity providers, who deposit pairs of tokens and earn a share of the trading fees in return. So when you swap, you are trading against a shared pool of tokens, not against a person waiting on the other side. If you want the longer version of this mechanism, the article on how a token swap works under the hood walks through the math.

What you keep, and what you give up

A DEX changes the balance of control and responsibility. It is worth being honest about both sides.

What you gain:

  • Custody stays with you. Your tokens live in your own wallet the entire time. No company can freeze your balance, and no exchange failure can take your funds with it.
  • No account or approval. There is no sign-up, no waiting for verification, and no gatekeeper deciding whether you are allowed to trade.
  • Open access to new tokens. Many tokens trade on a DEX long before, or instead of, being listed on a large centralized exchange.
  • Everything is visible. Every trade settles on-chain, so anyone can verify what happened using a block explorer.

What you take on:

  • You are your own safety net. There is no support desk to reverse a mistake. If you send to the wrong address or approve a malicious contract, the loss is usually permanent.
  • Anyone can list a token. Open access cuts both ways. Scam tokens can appear on a DEX freely, so you have to verify what you are trading rather than assume a listing means it is safe.
  • You pay network fees. Each swap is an on-chain transaction, so you need a small amount of ETH on Base to cover gas, even when trading other tokens.
  • Price and slippage are yours to check. On a thin pool, a large trade can move the price noticeably. Slippage settings exist to protect you from the worst of it.

Where Simple Base Swap fits

A wallet like Simple Base Swap is the interface, not the exchange itself. When you tap swap, the wallet builds a transaction that talks to a DEX contract on Base, shows you the expected result, and asks you to sign. The trade is carried out by the on-chain contracts. The wallet just makes that process readable and gives you the controls, such as slippage tolerance, that keep it safe.

This is why the recovery phrase matters so much on a DEX. Because no company holds your funds, the phrase that controls your wallet is the only thing that controls your money. Keeping it safe is covered in its own article, and it is worth reading if you have not already.

A short mental model

Think of a centralized exchange as a bank. You hand over your money, they keep the ledger, and you trust them to give it back. Think of a decentralized exchange as trading directly from your own pocket using a shared vending machine that anyone can inspect. Nobody holds your money for you, which is the freedom and the responsibility at the same time.

Both models have their place. Many people use a centralized exchange to convert cash into crypto, then move to a self-custody wallet and a DEX for day to day trading, so they are not leaving funds on a platform they do not control. Understanding the difference is the first step to choosing what fits you.

Ready to try it yourself?

Create a non-custodial wallet on Base in seconds. No account, no sign-up.

Open the web app