{"id":19426356,"url":"https://github.com/ausaf007/uniswap-tracker","last_synced_at":"2025-04-24T17:31:03.678Z","repository":{"id":178056492,"uuid":"655303655","full_name":"ausaf007/uniswap-tracker","owner":"ausaf007","description":"High Performance Go-Fiber Microservice to Track UniswapV3 Liquidity Pools","archived":false,"fork":false,"pushed_at":"2023-10-07T10:17:21.000Z","size":50,"stargazers_count":12,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-03T08:37:14.186Z","etag":null,"topics":["go","go-fiber","microservice","monitoring-tool","rest-api","sqlite","sqlite3","tracking","uniswap-v3"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ausaf007.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-06-18T13:56:44.000Z","updated_at":"2025-01-23T18:04:51.000Z","dependencies_parsed_at":"2023-10-11T07:54:29.877Z","dependency_job_id":null,"html_url":"https://github.com/ausaf007/uniswap-tracker","commit_stats":{"total_commits":16,"total_committers":1,"mean_commits":16.0,"dds":0.0,"last_synced_commit":"efd78f85aef41af706ea298b921496d9690496ee"},"previous_names":["ausaf007/uniswap-tracker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ausaf007%2Funiswap-tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ausaf007%2Funiswap-tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ausaf007%2Funiswap-tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ausaf007%2Funiswap-tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ausaf007","download_url":"https://codeload.github.com/ausaf007/uniswap-tracker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250674252,"owners_count":21469185,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","go-fiber","microservice","monitoring-tool","rest-api","sqlite","sqlite3","tracking","uniswap-v3"],"created_at":"2024-11-10T14:07:22.702Z","updated_at":"2025-04-24T17:31:03.413Z","avatar_url":"https://github.com/ausaf007.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eUniswap Tracker\u003c/h1\u003e\n\n\u003ch3 align=\"center\"\u003e High Performance Go-Fiber Microservice to Track UniswapV3 Liquidity Pools\u003c/h3\u003e\n\n\u003c!-- TABLE OF CONTENTS --\u003e\n\u003cdetails open\u003e\n  \u003csummary\u003eTable of Contents\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"#about-the-project\"\u003eAbout The Project\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#tech-stack\"\u003eTech Stack\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#prerequisites\"\u003ePrerequisites\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#how-to-use\"\u003eHow to use?\u003c/a\u003e\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\n## About The Project\n\nMonitoring service for Uniswap V3 pools that continuously tracks and logs essential data points with go-ethereum, stores them in a persistent datastore (sqlite3), and provides access to the data through a REST endpoint.\n\n## Tech Stack\n\n[![](https://img.shields.io/badge/Built_with-Go-green?style=for-the-badge\u0026logo=Go)](https://go.dev/)\n[![](https://img.shields.io/badge/Built_with-sqlite-blue?style=for-the-badge\u0026logo=sqlite)](https://www.sqlite.org/)\n\n## Prerequisites\n\nDownload and install [Golang 1.20](https://go.dev/doc/install) (or higher).\n\n## How To Use?\n\n1. Navigate to `uniswap-tracker/`:\n   ``` \n   cd /path/to/folder/uniswap-tracker/\n   ```\n2. Open `config.json` file and fill in the `eth_client_url` field. This is useful to connect to the Ethereum Node. \nAlso fill in the `pool_address` of the Uniswap V3 Pool you want to track. Rest of the fields can be left to default.\nHere are some details about the fields in the config file:\n   1. `pause_duration`: Pause duration between consecutive RPC Calls. Default is 6 seconds. (Default=6000)\n   2. `log_frequency`: After this many number of blocks the pool data be stored in the db. (Default=12)\n3. Get dependencies:\n   ``` \n   go mod tidy\n   ```\n4. Run the app:\n   ``` \n   go run . \n   # use \"--verbose\" flag to get additional logs\n   go run . --verbose \n   ```\n5. Get latest data with pool_id being 1:\n    ```\n    curl -X GET \"http://127.0.0.1:3000/v1/api/pool/1?latest\"\n    ```\n6. Get block 420 data with pool_id being 1:\n    ```\n    curl -X GET \"http://127.0.0.1:3000/v1/api/pool/1?block=420\"\n    ```\n7. Get historic data:\n    ```\n    curl -X GET \"http://127.0.0.1:3000/v1/api/pool/1/historic\"\n    ```\n8. In case you want to know the pool_id for all the pool addresses tracked:\n    ```\n    curl -X GET \"http://127.0.0.1:3000/v1/api/pool_mapping\"\n    ```\n\nThank you!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fausaf007%2Funiswap-tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fausaf007%2Funiswap-tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fausaf007%2Funiswap-tracker/lists"}