Decentralized exchanges enable peer-to-peer transactions to take place without the use of centralized intermediaries. Decentralized exchanges incorporate smart contracts and blockchain technology to provide the opportunity and security required for cryptocurrency and token trading. This form of the transaction allows coin owners to keep their cash and private keys in their own. Because they reduce the threat of theft through hacking, decentralized exchanges may be a safer alternative than centralized middlemen. DEXs, on the other hand, are more difficult for customers to utilize, and there is a greater danger of price slippage and front-running. Exchanges can be partially decentralized while still be dependent on centralized components. Airswap is an example of a decentralized exchange.