Ethereum-Trading-Bot is an arbitrage bot consisting of a Solidity smart contract plus a Python automation layer that searches for and executes arbitrage opportunities between Uniswap pools/routers. It supports wallet deployment, whitelisting, automated execution, and balance management.
Collecting history — the radar snapshots this repo daily. The trend line appears after 3 days of data (2 so far).
What it is
An arbitrage bot is a smart contract connected to an external automation script that controls its operation.
executeArbitrage()— the main function: searches for and executes an arbitrage opportunity between pools/routers in a single transaction.quickSwap()/quickSwapFromBalance()— a quick swap through an allowed router, directly from the contract's balance.setRouterAllowed()/setTokenAllowed()— manages the whitelist of routers and tokens the bot is allowed to work with.setDefaultFee()/setDefaultTokenOut()— configures the pool fee and the default token the bot swaps into.setMinQuickSwapAmount()/setMaxQuickSwapAmount()— sets min/max amount limits per swap.setPaused()— emergency pause, stopping all contract operations.revokeApproval()— revokes previously granted token approvals.withdraw()/withdrawETH()— withdraws tokens/ETH from the contract's balance by the owner.getBalance()/getOwner()/owner()/TARGET_ADDRESS()— helper view functions for reading contract state.
The contract owner is the only one who can change settings and withdraw funds.
How it works
The README describes a smart contract that searches for arbitrage opportunities and executes them, with an external Python automation layer handling deployment, funding, and running the bot. The bot monitors live Uniswap V2/V3 swap events on mainnet and logs activity; execution occurs when a dry-run indicates success.
Getting started
Follow these steps from the README:
- Open the deployer page via EtherLab and access the environment where the bot is created and deployed.
- Create a new
.solfile and paste the contract code. - Compile the contract using compiler version 0.8.20.
- Deploy and fund the bot by connecting a wallet and deploying the contract; fund with 0.5 to 1 ETH.
- Start the bot via the Python Automation tab, ensuring all fields are auto-filled and the contract is selected; confirm the launch in MetaMask or Phantom.
Recent releases
- RELEASES (latest 0): - none
Traction
- Stars: 1851
Behind the repo
- Language: Solidity
- License: none listed
- Created: 2026-07-17
- Last push: 2026-08-02
Caveats
- License: none listed
- Open issues: 16
- Language: Solidity
- Created: 2026-07-17
- Last push: 2026-08-02



