ILESKOV / LeskoDEX

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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.


Languages

Language:JavaScript 83.8%Language:Solidity 12.7%Language:CSS 2.0%Language:HTML 1.4%Language:Shell 0.2%