{"id":18705513,"url":"https://github.com/pfed-prog/evmexplorer-uniswap","last_synced_at":"2025-04-12T10:14:01.038Z","repository":{"id":257822022,"uuid":"871264054","full_name":"Pfed-prog/EVMExplorer-Uniswap","owner":"Pfed-prog","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-11T01:36:13.000Z","size":1052,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T10:13:50.862Z","etag":null,"topics":["dspyt","evmexplorer"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Pfed-prog.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-11T15:37:36.000Z","updated_at":"2025-04-02T16:43:20.000Z","dependencies_parsed_at":"2025-03-10T18:35:30.037Z","dependency_job_id":"f1ffbc78-92a3-4d1d-8af9-dfc12365c42a","html_url":"https://github.com/Pfed-prog/EVMExplorer-Uniswap","commit_stats":null,"previous_names":["pfed-prog/evmexplorer-uniswap"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pfed-prog%2FEVMExplorer-Uniswap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pfed-prog%2FEVMExplorer-Uniswap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pfed-prog%2FEVMExplorer-Uniswap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pfed-prog%2FEVMExplorer-Uniswap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pfed-prog","download_url":"https://codeload.github.com/Pfed-prog/EVMExplorer-Uniswap/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248550633,"owners_count":21122934,"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":["dspyt","evmexplorer"],"created_at":"2024-11-07T12:11:07.786Z","updated_at":"2025-04-12T10:14:01.033Z","avatar_url":"https://github.com/Pfed-prog.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EVMExplorer-Uniswap\n\n[EVM Explorer](evmexplorer.com) TypeScript Uniswap v3 SDK.\n\n## 📚 Install\n\n```bash\nnpm install @evmexplorer/uniswap\n```\n\nor\n\n```bash\nyarn add @evmexplorer/uniswap\n```\n\n## Example usage\n\nTo get a quote of [AAVE token](https://evmexplorer.com/contracts/mainnet/0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9) price in USD from Uniswap V3:\n\n```ts\nimport { getQuoteUniswapUSD } from '@evmexplorer/uniswap';\nimport { AlchemyProvider } from 'ethers';\n\nimport dotenv from 'dotenv';\ndotenv.config();\n\nconst api = process.env.API;\n\nconst provider = new AlchemyProvider('mainnet', api);\n\nconst tokenData = {\n  address: '0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9',\n  decimals: 18,\n  chainId: 1,\n};\n\nconst exchangeRateWETH = '3920.84';\n\nconst result = await getQuoteUniswapUSD(tokenData, provider, exchangeRateWETH);\n```\n\n## More information\n\n[EVM Explorer - Tracking Smart Contract Transaction Data](https://dspyt.com/evmexplorer)\n\n[Explanation of Slot0 Data](https://stackoverflow.com/a/79280489/13943679)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpfed-prog%2Fevmexplorer-uniswap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpfed-prog%2Fevmexplorer-uniswap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpfed-prog%2Fevmexplorer-uniswap/lists"}