codeesura / Ethereum-Arbitrage-Bot

This repository contains a smart contract for a simple Ethereum-based arbitrage bot that takes advantage of price differences between Uniswap and Sushiswap decentralized exchanges. The contract is written in Solidity and uses the UniswapV2 and SushiSwap Router interfaces.
MIT License
11 stars 5 forks source link

Multiple chains #2

Open rolandweb3 opened 3 months ago

rolandweb3 commented 3 months ago

How can I change it to support multiple chains, like layer 2

codeesura commented 3 months ago

The contract can be used on all EVM-compatible networks, but you need to develop it further. This contract is just a simple example

rolandweb3 commented 3 months ago

The contract can be used on all EVM-compatible networks, but you need to develop it further. This contract is just a simple example

I've deployed to polygon with it's token, after I funded the contract then click on the swap function, I will got this error message that pop ups "gas estimation errored..." if I proceed the transaction will fail.

Please what courses it and how can I resolve it?