DeFi
Decentralized exchange (DEX)
A decentralized exchange is a set of smart contracts that lets people swap tokens directly from their own wallets, with no company holding the funds.
In detail
Most DEXs do not use an order book. Instead, users called liquidity providers deposit pairs of tokens into a pool, and a formula sets the price according to how much of each token the pool holds. You connect a self-custody wallet, approve the swap and pay a network fee; there is no account, no KYC and no support desk. Anyone can list a token, so the range is very wide and includes many worthless or fraudulent ones. A DEX cannot accept rupees, so funds usually arrive from a centralized exchange first.
Practical example
You hold USDT worth ₹8,000 in your own wallet and swap it for another token on a DEX. The screen shows the expected amount, a pool fee of about 0.3% and a network fee, and the new token arrives in the same wallet within a minute.
Risk note
Large swaps in small pools suffer heavy slippage, and a bug in the contract or a fake copy of a token can cause total loss. Nobody can reverse a swap or recover funds sent to the wrong contract.