Lesko Exchange with ESKO ERC-20 standard token Video explanation here.
- 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
- 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
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
$ 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 is: in progress
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