{"id":20685117,"url":"https://github.com/joebb10/flash-loan-arbitrage","last_synced_at":"2026-02-08T00:02:37.609Z","repository":{"id":194468409,"uuid":"690896834","full_name":"joebb10/Flash-Loan-Arbitrage","owner":"joebb10","description":"Flash Loan and Arbitrage Smart Contracts to Perform On-Chain Arbitrage Trading ","archived":false,"fork":false,"pushed_at":"2025-03-27T22:14:05.000Z","size":25,"stargazers_count":24,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-27T23:23:36.460Z","etag":null,"topics":["arbitrage-bot","arbitrage-trading","blockchain","crypto-trading-bot-github","flash-loan","flash-loan-bot","flash-loans","solidity"],"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/joebb10.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":"2023-09-13T05:26:33.000Z","updated_at":"2025-03-27T22:14:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"8cb126f8-6002-496a-913d-acafd11842cd","html_url":"https://github.com/joebb10/Flash-Loan-Arbitrage","commit_stats":null,"previous_names":["joebb10/arbitrage","joebb10/flash-loan-arbitrage"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joebb10%2FFlash-Loan-Arbitrage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joebb10%2FFlash-Loan-Arbitrage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joebb10%2FFlash-Loan-Arbitrage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joebb10%2FFlash-Loan-Arbitrage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joebb10","download_url":"https://codeload.github.com/joebb10/Flash-Loan-Arbitrage/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250250027,"owners_count":21399572,"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-bot","arbitrage-trading","blockchain","crypto-trading-bot-github","flash-loan","flash-loan-bot","flash-loans","solidity"],"created_at":"2024-11-16T22:25:49.009Z","updated_at":"2026-02-08T00:02:34.399Z","avatar_url":"https://github.com/joebb10.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ethereum Smart Contracts for Arbitrage and Flash Loans\n\nThis repository contains Ethereum smart contracts for performing arbitrage trading and utilizing flash loans on decentralized finance (DeFi) platforms.\n\n## Contracts Overview\n\n### 1. Arbitrage.sol\n\n#### Description:\nThe `Arbitrage.sol` contract facilitates automated arbitrage trading between Uniswap and Sushiswap DEX platforms.\n\n#### Features:\n- **Automated Trading:** Executes trades based on predefined parameters to exploit price differences between Uniswap and Sushiswap.\n- **Slippage Tolerance:** Adjustable slippage tolerance ensures trades are executed profitably within specified parameters.\n- **Owner Controls:** Allows the contract owner to adjust slippage tolerance and withdraw tokens.\n\n### 2. FlashLoan.sol\n\n#### Description:\nThe `FlashLoan.sol` contract demonstrates how to execute a simple flash loan using the Aave protocol.\n\n#### Features:\n- **Flash Loan Execution:** Requests and handles flash loans from the Aave protocol.\n- **Trade Execution:** Example functionality swaps the flash loaned asset for WETH using Uniswap V2.\n- **Owner Controls:** Allows the contract owner to execute flash loans and handle loan repayments.\n\n### 3. Flash-Loan-Arbitrage.sol\n\n#### Description:\nThe `Flash-Loan-Arbitrage.sol` contract integrates flash loans with arbitrage trading strategies, utilizing Uniswap V2 for enhanced trading opportunities.\n\n#### Features:\n- **Combined Strategies:** Executes arbitrage opportunities using flash loans from the Aave protocol and trading on Uniswap V2.\n- **Customizable Logic:** Demonstrates advanced trading strategies while leveraging flash loan capabilities.\n- **Owner Controls:** Allows the contract owner to execute complex trading and manage flash loan repayments.\n\n## Usage\n\n### Prerequisites\n- Ensure you have access to an Ethereum node or provider like Infura.\n- Use a development environment like Remix or Truffle for local testing and deployment.\n\n### Deployment\n1. Deploy contracts on an EVM-compatible network (e.g., Ethereum mainnet, Polygon, Arbitrum, Mumbai testnet).\n2. Set appropriate permissions and parameters as defined in each contract's constructor.\n\n### Interacting with Contracts\n- Use Ethereum wallets or scripts to interact with deployed contracts.\n- Follow specific contract methods like `performArbitrage` in `Arbitrage.sol`, `executeOperation` in `FlashLoan.sol`, or integrated methods in `Flash-Loan-Arbitrage.sol`.\n\n## Risks\n- **Market Risks:** Arbitrage and flash loan trading carry inherent market risks, including price volatility and slippage.\n- **Contract Risks:** Smart contract interactions are irreversible; ensure parameters and transactions are validated thoroughly.\n\n## Contributions\nContributions are welcome via pull requests. Please ensure code quality, documentation, and adherence to smart contract best practices.\n\n## License\nThis repository is licensed under the MIT License. See `LICENSE` for more information.\n\n## Support\nIf you find these contracts useful, please consider giving this repository a star on GitHub to show your support and encourage further development.\n\n# Donate\n\nIf you find these smart contracts useful and would like to support its development, consider making a donation to the following wallet address:\n\n```bash\n0x86FFC6C3782D2b551c5dF462eD5B47d56c539F19\n```\n\nYour contributions help maintain and improve these smart contracts for the community. Thank you for your support!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoebb10%2Fflash-loan-arbitrage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoebb10%2Fflash-loan-arbitrage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoebb10%2Fflash-loan-arbitrage/lists"}