{"id":18014296,"url":"https://github.com/dt6120/uniswap-v2-playground","last_synced_at":"2025-04-04T15:12:53.912Z","repository":{"id":258164206,"uuid":"867966869","full_name":"dt6120/uniswap-v2-playground","owner":"dt6120","description":"Foundry based Uniswap V2 playground to try and test out available functionalities of the protocol","archived":false,"fork":false,"pushed_at":"2024-10-13T11:54:30.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T00:41:27.614Z","etag":null,"topics":["arbitrage","flashswap","foundry","solidity","uniswap-v2"],"latest_commit_sha":null,"homepage":"","language":"Solidity","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dt6120.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-05T05:54:14.000Z","updated_at":"2024-10-13T11:56:15.000Z","dependencies_parsed_at":"2024-10-17T22:11:55.737Z","dependency_job_id":"405fff88-8a67-4e25-b258-4a1a58f9701d","html_url":"https://github.com/dt6120/uniswap-v2-playground","commit_stats":null,"previous_names":["dt6120/uniswap-v2-playground"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dt6120%2Funiswap-v2-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dt6120%2Funiswap-v2-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dt6120%2Funiswap-v2-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dt6120%2Funiswap-v2-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dt6120","download_url":"https://codeload.github.com/dt6120/uniswap-v2-playground/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247198469,"owners_count":20900081,"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":["arbitrage","flashswap","foundry","solidity","uniswap-v2"],"created_at":"2024-10-30T04:07:37.048Z","updated_at":"2025-04-04T15:12:53.891Z","avatar_url":"https://github.com/dt6120.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Uniswap V2 Playground\n\nThis is a Foundry project developed to play around with Uniswap V2 protocol. It has contracts that implement flash swap and arbitrage functionality using the pair and router contracts. There are various unit and fuzz tests written to run features like swapping tokens, adding removing liquidity to more advanced setups for flash swaps and arbitrage.\n\n### Getting started\n- Clone the repo\n```bash\ngit clone https://github.com/dt6120/uniswap-v2-playground.git\n```\n- Install dependencies and compile contracts\n```bash\nforge build\n```\n- Export Ethereum mainnet RPC url\n```bash\nexport ETH_RPC=\"\u003cETH_RPC_URL_HERE\u003e\"\n```\n\n### Running the test suite\n- Run forge test command with fork url\n```bash\nforge test --fork-url $ETH_RPC -vvv\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdt6120%2Funiswap-v2-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdt6120%2Funiswap-v2-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdt6120%2Funiswap-v2-playground/lists"}