In light of the increasing interest in digital currencies and the development of trading systems, the comparison between centralized exchanges (CEX) and decentralized exchanges (DEX) has become one of the key topics that investors must understand clearly. Centralized exchanges represent an ideal option for beginners and users seeking ease of use, as they offer simple trading interfaces, direct technical support, in addition to high liquidity and the ability to use fiat currencies. However, they rely on intermediaries who control the funds, making them susceptible to hacking risks or regulatory freezing. In