Skip to content

A tool to extract historical Uniswap V3 positions data into a CSV

License

Notifications You must be signed in to change notification settings

ncitron/uni-v3-position-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Uniswap V3 Position Tracker

A tool to extract historical Uniswap V3 positions data into a CSV

Usage

  1. Copy .env.default to .env

    cp .env.default .env
    
  2. Replace GRAPH_API_KEY with your graph API key from https://thegraph.com/.
    Note: the Uniswap V3 subgraph is free to use, but it seems making queries to it fail if you have no GRT in your Graph account. To get it to work, create an account and add a very small amount of GRT to it. You can do this through Polygon so the fees are nto to bad.

  3. Install dependencies
    You will need to have Node.js and yarn. Once those are installed, run

    yarn
    
  4. Run script

    yarn start <uniswap V3 NFT ID> <output file path>
    

About

A tool to extract historical Uniswap V3 positions data into a CSV

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published