A decentralized exchange (DEX) is a cryptocurrency exchange that operates without a centralized authority, using smart contracts and the blockchain technology.