Linch1 / WeChartWeb3

Build a poocoin clone, scrape all the prices from pancakeswap or any other similar dex, build an historical record and offer an api to your users.
114 stars 77 forks source link
blockchain bsc cryptocurrency dex dextools ethereum historical-data nodejs pancakeswap poocoin scraper uniswap

WeChart

We-Chart-Logo

WeChart is a tool aiming to provide a software capable to detect whenever a token change it's prices on the most common dexes alive ( pancakeswap/biswap/uniswap/etc.. ), based on the chain where the scraper is running, in the most efficient way possibile and track it as a record on a database (mongodb)

:warning: To run this tool you will need a commercial full-node provider.

How does this work?

The price scraper listens for the latest swap made to blockchain, based on the token's liquidity pair reserves you can calculate the tokens prices, the router of the swap and the pair of the tokens.

Setup

Emprove This

If you know a more efficent way, or any other better than this please let the community know this by opening an issue with infos about your ideas! :heart: . This repo can be used not only with pancakeswap but also with any kind of other exchange platform on any chain that is similar to pancakeswap.

To Do

Query the prices

Endpoints

ISSUES

For anyu bug or issue please report it, i'll try to reply as soon as i can :thumbsup: