Giter VIP home page Giter VIP logo

order-book-dex's Introduction

Delta Token Exchange

This project demonstrates a basic order book based decentralized exchange. It includes a smart contract for the ERC-20 tokens traded on the exchange, as well as the exchange contract that manages deposits/withdrawals and trades on the DEX. Test files and scripts for deployment and seeding the exchange are included.

Stack

Technologies Used:

  • JavaScript
  • React
  • Redux
  • Solidity

Libraries Used:

Testing Libraries:

Dev Tools:

Local Testing

To test the DEX locally, run the following:

npx hardhat node

npx hardhat --network localhost scripts/1_deploy.js

npx hardhat --network localhost scripts/2_seed_exchange.js

npm run start

Deployment

The DEX has been deployed on the Sepolia and Mumbai test networks and is configured to service trades for an ERC-20 token, Delta Token (DELTA). DELTA is traded as the base currency in two markets: mETH and mDAI. The mETH and mDAI quote currencies represent mock versions of the Ether and Dai cryptocurrencies. The exchange contract takes a _feePercent parameter upon deployment, which is paid by the user filling an order on the exchange - the taker. The test deployment uses a 10% fee for simplicity.

Order Book DEX

order-book-dex's People

Contributors

0xmic avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.