{"id":20373464,"url":"https://github.com/slickcharmer/ethereum-arbitrage-contract","last_synced_at":"2025-03-04T20:44:46.153Z","repository":{"id":227921285,"uuid":"771807721","full_name":"slickcharmer/ethereum-arbitrage-contract","owner":"slickcharmer","description":"Flashloan arbitrage contract on Ethereum","archived":false,"fork":false,"pushed_at":"2024-03-14T01:37:22.000Z","size":333,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-15T06:50:30.377Z","etag":null,"topics":["arbitrage","ethereum","smart-contract","solidity","truffle","uniswap3"],"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/slickcharmer.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}},"created_at":"2024-03-14T01:37:17.000Z","updated_at":"2024-03-14T14:48:15.000Z","dependencies_parsed_at":"2024-03-15T20:39:04.896Z","dependency_job_id":null,"html_url":"https://github.com/slickcharmer/ethereum-arbitrage-contract","commit_stats":null,"previous_names":["slickcharmer/ethereum-arbitrage-contract"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slickcharmer%2Fethereum-arbitrage-contract","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slickcharmer%2Fethereum-arbitrage-contract/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slickcharmer%2Fethereum-arbitrage-contract/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slickcharmer%2Fethereum-arbitrage-contract/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slickcharmer","download_url":"https://codeload.github.com/slickcharmer/ethereum-arbitrage-contract/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241921824,"owners_count":20042763,"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","ethereum","smart-contract","solidity","truffle","uniswap3"],"created_at":"2024-11-15T01:18:28.484Z","updated_at":"2025-03-04T20:44:46.131Z","avatar_url":"https://github.com/slickcharmer.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flashloan Trading Smart Contract\n\n## Usage\n\n1. Rename `.env.example` file to `.env` inside the contracts directory\n \n2. Config `.env` file. \n\n    Here, you need three things.\n    * set netwok\n    * Insert your INFURA Project ID. You can create a infura Project ID [here](https://infura.io). \n    * Insert your MetaMask (Kovan Testnet) 32byte wallet private key.\n    * Insert your [etherscan](https://etherscan.io) account's API KEY.\n\n3. Install yarn modules. Open terminal window and run:\n\n```\nnpm install\nnpm i @truffle/hdwallet-provider@next\nyarn install\n```\n\n4. Deploy Smart Contract on Kovan Testnet\n```\nyarn build-deploy-kovan\n```\n\n```\nyarn verify UniswapFlash1Inch --network  kovan\n```\n5. Deploy Smart Contract on Mainnet Fork\n\nNote: Can use Ganache CLI or GUI. here describe how to use Ganache CLI.\n```\nyarn add global ganache-cli\n```\n```\nyarn mainnet-fork https://mainnet.infura.io/v3/\u003cYOUR_INFURA_API_KEY\u003e\n```\n\nNote: Don't close current terminal window and start with new terminal window.\n\n```\nyarn build-deploy\n```\n\n## Modifying UniswapFlash1Inch.sol\n\n\n## Integrating 1Inch V4 Router \n## Kovan Testnet Past Examples\n* Ensure to have your .env configuration setup with your etherscan API key, and your INFURA API keys as well. \n\n* Successful profiting $99.9995 DAI \nSmart Contract Transaction: https://kovan.ethplorer.io/tx/0xf1c4037914460161b3f63779707c1f42fd7c6f6726b4193a38666dc87348ec4f\n\n\n\n# Developer Instruction Manual (ETH MAINNET): \n\n## COMING SOON (THINGS REQUIRED)\n* AAVE, EQUALIZER, DODO Flashloan contracts activated for Mainnet\n* bot.js needs to be modified to lookup mainnet opportunities\n\n\n# Adding a new DEX\n\n1. Don't need add the new DEX's into the /config/dex.json file anymore. Just need UniswapV3 and WETH token.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslickcharmer%2Fethereum-arbitrage-contract","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslickcharmer%2Fethereum-arbitrage-contract","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslickcharmer%2Fethereum-arbitrage-contract/lists"}