A DEX runs on smart contracts deployed on a blockchain, which manage trades automatically instead of relying on a company's internal order-matching system. Many DEXs use liquidity pools and an automated market maker formula to price trades, rather than a traditional order book that matches individual buyers and sellers. To trade, a user typically connects a self-custody wallet, approves a transaction, and the trade settles directly on-chain once the smart contract executes it.
This is a structural contrast with centralised exchanges, which take custody of user funds and usually require identity verification before trading. Because a DEX interacts directly with a smart contract rather than a company's books, it typically doesn't take custody of funds and often skips identity checks entirely. That comes with trade-offs worth understanding: users are fully responsible for their own wallet security, since there's no company account recovery if a private key is lost; every trade costs a network transaction fee; smart contracts can contain bugs or be exploited despite audits; and thinner liquidity pools can cause noticeable price impact, known as slippage, on larger trades. None of this makes a DEX inherently unsafe, but it shifts responsibility for security and due diligence onto the individual user rather than a custodian.
Key takeaways
- A DEX lets users trade directly from their own wallet using smart contracts instead of depositing funds with a company.
- Many DEXs price trades through automated market maker formulas and liquidity pools rather than a traditional order book.
- Users keep control of their own funds but also take on full responsibility for wallet security and smart contract risk.
Decentralised Exchange (DEX) — frequently asked questions
Do I need an account to use a DEX?
Typically no. You connect a self-custody wallet directly to the platform rather than creating an account or depositing funds with a company, though you still need the wallet itself set up and funded first.
Is a DEX safer than a centralised exchange?
It removes the risk of a company mismanaging or losing custody of your funds, but it introduces different risks, such as smart contract bugs, user error, and no customer support to reverse mistaken transactions.
Related terms
Automated Market Maker (AMM)Liquidity PoolCentralised Exchange (CEX)SlippageWallet All terms →New to crypto, or filling in the gaps? Work through the essentials in Learn, browse every term A–Z, or see live prices for the coins these concepts power.