Overview

Decentralized applications can use the dexdex platform to trade by calling a smart contract function. This interaction is asynchronous and composed of two steps:

In the first step, the dapp calls our trading smart contract and sets the trade conditions: a max price to buy or a min price to sell and a __callback function.

The second step consist of dexdex fetching the best orders to fulfill those conditions and broadcasting a trading transaction. Such transaction will perform the requested trade and then execute the __callback function .