Skip to content

DarkKolp/SolidityDEX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solidity Orderbook Decentralized Exchange

In this repository you can find:

-> A simple mock token contract (ERC20) used to interact with the DEX

-> A DEX wallet contract to handle swaps between pairs (Each pair needs a wallet)

-> A DEX contract using orderbook model, where the user can trade tokens (in this case "Link"/ETH) using a market or limit order

-> The javascript tests, assuring that the contracts are working as they should.

To run this code you need:

-> Clone this repository

-> Install dependencies

npm i

-> Inicialize Truffle

truffle init

-> Compile and Migrate the contracts on your local machine

truffle compile

truffle migrate

-> Run the tests

truffle test

-> Or interact with the contracts

About

Solidity Project of a orderbook-like Decentralized Exchange

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published