uniswap-sushiswap-arbitrage-bot icon indicating copy to clipboard operation
uniswap-sushiswap-arbitrage-bot copied to clipboard

Two bots written in JS that uses flashswaps and normal swaps to arbitrage Uniswap. Includes an automated demostration.

Results 14 uniswap-sushiswap-arbitrage-bot issues
Sort by recently updated
recently updated
newest added

Hi 👋 Thanks @6eer for your work. Your code looks really promising. I followed your instructions to deploy the demo environment. I ran ganache successfully (by forking mainnet), created the...

If you look on how you calculated the profit const profit = (totalDifference*priceToken0Eth)-gasCost the profit should be calculated this way : const profit = (totalDifference*priceToken1Eth)-(gasCost*2) because you wanted the difference...

Hi, The demo works well, but when I tried with pair LINK/UNI, got error `revert ds-math-sub-underflow` (the output is pasted at the bottom). Added `console.log` around `computeProfitMaximizingTrade` and `getAmountIn`, the...

Hello, Do you have an discord/ telegram account?

Because i notice that in demo_enviroment.js, `//uniswap const IRouter = require('@uniswap/v2-periphery/build/IUniswapV2Router02.json') const uRouter = new web3.eth.Contract(IRouter.abi,'0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D') //sushiswap const sRouter = new web3.eth.Contract(IRouter.abi,'0xd9e1cE17f2641f24aE83637ab66a2cca9C378B9F')` You use '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D'and '0xd9e1cE17f2641f24aE83637ab66a2cca9C378B9F',they are the real address...

When I run the node ./src/bot_flashswap.js command this error comes out does anyone know how i can fix it? uniswap-sushiswap-arbitrage-bot/node_modules/web3-core-helpers/lib/formatters.js:403 throw new Error(`Provided address ${address} is invalid, the capitalization checksum...

Hi, Thanks for this write up.I am relatively new to the arbitrage flashloan bots.I was hoping you could explain in a bit more detail how to successfully code the steps...

Can you do a video of the setup? I am very interested in this but its still a little above my head setting it up. Thank you!

I've tried bot_Flashswap and _Normalswap, but the newBlockEvent is never firing... as if there are no new blocks being generated. I've tried it locally as well as with Infura WS,...