Decentralized-exchange

A decentralized exchange for trading erc-20 tokens.
The dex contract is located in the contracts directory. It defines several functions for creating market and limit orders and matching suitable orders. It also uses DAI token as the base currency for trading

Directories


The project is a truffle project containing several directories as initialized by truffle.
Contracts - Contains the smart contract solidity code for the dex and the mock tokens.
Migrations - Contains the migration files for deploying the contract
Test - It contains the unit tests written in javascript for testing each functions in the smart contract for errors