An IDO uses a decentralized exchange (DEX) to facilitate the token sale . A crypto project provides their tokens to the DEX, users commit their funds through the platform, and the DEX completes the final distribution and transfer. These processes are automated and occur via smart contracts on the blockchain.