An app that monitor prices of tokens in different DEXs (i.e. Uniswap, Sushiswap etc.)
The build has been tested with Node.js 16.6.1.
Steps:
- Clone this repo to the hosting system (or click download).
- Type
npm install
into the terminal to install the necessary dependencies. - Copy
.env.example
and rename the copy to.env
. (Bugs may occur when renaming) - Edit the variables in
.env
and save. - Type
npm start
to run the crawler.
-
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?
- Check the code that it applies to
.eslintrc.js
rules. - Make a new pull request.
- 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?..
CJXE on GitHub. lettucebaran#4009 on Discord.