Skip to content

LeskoDEX is a DEX with a decentralized orderbook and a custom ERC-20 ESKO token. Each user can connect to the DEX via Metamask and trade the ETH/ESKO pair. A custom chart for technical analysis is available.

Notifications You must be signed in to change notification settings

ILESKOV/LeskoDEX

Repository files navigation

Lesko Decentralized Exchange

Lesko Exchange with ESKO ERC-20 standard token Video explanation here.

📁 Table of Contents

General Information

  • The LESKO is an exchange for trading ETH/ESKO
  • Connect with your wallet, deposit ETH or ESKO token and trade them
  • User can create orders, fill and cancel them, also chart of ETH/ESKO price action is available

Technologies Used (more in dependencies)

  • React - version 16.13.1
  • truffle - version 5.1.45
  • web3 - version 1.2.6
  • openzeppelin-solidity - version 2.1.3
  • apexcharts - version 3.6.3
  • chai - version 4.2.0
  • redux - version 4.0.5

Features

List the ready features here:

  • User can connect to exchange via wallet and deposit / withdraw ETH or ESKO token
  • User can create / cancell and fill orders
  • User can buy / sell ETH or ESKO tokens
  • User can check all trade history of the exchange
  • User can see ETH / ESKO price action in integrated chart

Screenshots

Example screenshot

Setup

📟 Setup

1. 💾 Clone/Download the Repository

2. 📦 Install Dependencies:

$ cd repository_file
$ npm install

After that you need to run your local blockchain. Open Ganache and in terminal run command:

truffle migrate --reset:

Or if you whant to deploy to test network you can run:

truffle migrate --reset --network matic

or

truffle migrate --reset --network goerli

To do some interactions exchange have script for fill some orders until exchange is not live-traded. Run

npm run seed-exchange

After that let's run:

npm run start

And at the end page will ask you to connect to your Metamask wallet. After you connected the setup is done!

Project Status

Project is: in progress

Room for Improvement

Room for improvement:

  • Add more tokens for trading
  • Add more time frames on chart
  • Hardhat migration
  • Get liquidity, migrate to AMM version
  • Improve UI and UX

Contact

Created by @LESKOV - feel free to contact me!

About

LeskoDEX is a DEX with a decentralized orderbook and a custom ERC-20 ESKO token. Each user can connect to the DEX via Metamask and trade the ETH/ESKO pair. A custom chart for technical analysis is available.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published