NODE VERSION V20.11.1
Uniswap V2:
- Ethereum network
- Data source: on chain factory contract
- file: uniswap_v2_ethereum.js
- command:
node uniswap/uniswap_v2_ethereum.js
- Note: total pairs are 300k, but I was able to store only 500 pairs in the excel sheet. Run the code for longer time to fetch all pools.
Uniswap V2:
- BSC network
- Data source: on chain factory contract
- file: uniswap_v2_bsc.js
- command:
node uniswap/uniswap_v2_bsc.js
- Note: remember to modify the value of pairStart and pairEnd variables for pagination
Uniswap V2:
- Optimism network
- Data source: on chain factory contract
- file: uniswap_v2_optimism.js
- command:
node uniswap/uniswap_v2_optimism.js
- Note: code needs modification, it is saving empty excel file
Uniswap V3:
- Ethereum network
- Data source: Sub graph
- file: uniswap_v3_ethereum.js
- command:
node uniswap/uniswap_v3_ethereum.js
Uniswap V3:
- BSC network
- Data source: Sub graph
- file: uniswap_v3_bsc.js
- command:
node uniswap/uniswap_v3_bsc.js
Uniswap V3:
- Optimism network
- Data source: Sub graph
- file: uniswap_v3_optimism.js
- command:
node uniswap/uniswap_v3_optimism.js
Uniswap V4:
- data source not available yet on sub graph
PancakeSwap V2:
- BSC network
- Data source: onchain factory contract
- file: pancakeswap_v2_bsc.js
- command:
node pancakeswap/pancakeswap_v2_bsc.js
- Note: remember to modify the value of startPair and endPair variables for pagination
- Note: only 1000 pairs are stored. Run this script for a long time to fetch total 1,608,093 pairs
PancakeSwap V3:
- BSC network
- Data source: Sub graph
- command:
node pancakeswap/pancakeswap_v3_bsc.js
PancakeSwap V3:
- Ethereum network
- Data source: Sub graph
- command:
node pancakeswap/pancakeswap_v3_ethereum.js
Sushiswap V2:
- Ethereum network
- Data source: Sub graph
- file: sushiswap_v2_ethereum.js
- command:
node sushiswap/sushiswap_v2_ethereum.js
- Note: remember to modify the value of pairStart and pairEnd variables for pagination
Sushiswap V2:
- BSC network
- Data source: sub graph
- file: sushiswap_v2_bsc.js
- command:
node sushiswap/sushiswap_v2_bsc.js
- Note: remember to modify the value of pairStart and pairEnd variables for pagination
Sushiswap V3:
- Ethereum network
- Data source: Sub graph
- file: sushiswap_v3_ethereum.js
- command:
node sushiswap/sushiswap_v3_ethereum.js
Sushiswap V3:
- BSC network
- Data source: Sub graph
- file: sushiswap_v3_bsc.js
- command:
node sushiswap/sushiswap_v3_bsc.js
Sushiswap V3:
- Optimism network
- Data source: Sub graph
- file: sushiswap_v3_optimism.js
- command:
node sushiswap/sushiswap_v3_optimism.js