Skip to content

nikolalosic/dex-pairs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEX pairs

Gets all DEX pairs and persists them in json file. Currently supported DEX exchanges are:

  • Uniswap (V1, V2, V3)
  • PancakeSwap (V1, V2)

Before running make sure you have NODE_URL environment variable set.

List of arguments is:

-chain-id int
    Specify chain id. (default 1)
-cores int
    Specify number of cores to use. Default is runtime.NumCPU()/2. (default 16)
-dex-exchange string
    Specify from which DEX exchange to get pairs. (default "uniswap")
-dex-version int
    Specify from which DEX exchange version to get pairs. (default 2)
-input-file string
    Specify input file. (default "dex_pairs.json")
-output-file string
    Specify output file. (default "dex_pairs.json")

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages