Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.
/ dex-crawler Public archive

🕷️ Monitor prices of tokens in different DEXs.

License

Notifications You must be signed in to change notification settings

cjxe/dex-crawler

Repository files navigation

DEX Crawler 🕷️

GitHub Repo stars

⚠️ THIS CODE IS NO LONGER BEING MAINTAINED! ⚠️

Index

  1. About
  2. Installation
  3. Contribution
  4. TODO
  5. Author

About

An app that monitor prices of tokens in different DEXs (i.e. Uniswap, Sushiswap etc.)

Installation

The build has been tested with Node.js 16.6.1.

Steps:

  1. Clone this repo to the hosting system (or click download).
  2. Type npm install into the terminal to install the necessary dependencies.
  3. Copy .env.example and rename the copy to .env. (Bugs may occur when renaming)
  4. Edit the variables in .env and save.
  5. Type npm start to run the crawler.

Contribution

  • Found a bug or something is not working right? Submit a new issue on the "Issues" tab.

  • Would you like to contribute to the code?

  1. Check the code that it applies to .eslintrc.js rules.
  2. Make a new pull request.

TODO

  • Get LP token address using two tokens.
  • Calculate the rough price of a token in DAI. (i.e., 1 WETH = 3255.124 DAI)
  • Calculate the correct price of a token in DAI. (Curved calculations) (NEW: Using the router contracts)
  • Save every pulled ABI/contract into a file. (Think about the DB structure)
  • Refresh the price when a new block is created.
  • Support for Uniswap. (Ethereum network)
  • Support for Sushiswap. (Ethereum network)
  • Support for Curve. (Ethereum network)
  • Support for 1inch. (Ethereum network)
  • Support for cryptodefiswap. (Ethereum network)
  • Support for PancakeSwap. (BSC network)
  • Support for Sushiswap. (BSC network)
  • Support for Curve. (BSC network)
  • Support for 1inch. (BSC network)
  • Support for Quickswap. (Polygon network)
  • UI with Electron?..

Author

CJXE on GitHub. lettucebaran#4009 on Discord.

About

🕷️ Monitor prices of tokens in different DEXs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published