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

Setup Instructions

Open mujahidazamcsm opened this issue 3 years ago • 10 comments

Hi Bro..

Great job with the script.. can u plz share some setup / deployment instructions as well for this.

mujahidazamcsm avatar May 14 '21 16:05 mujahidazamcsm

would be awesome

NICOC4PP4 avatar May 21 '21 04:05 NICOC4PP4

Sure, will add this soon.

ogwurujohnson avatar May 25 '21 13:05 ogwurujohnson

How is it working without a pancakeCall function, you used uniswapv2Call

Oluwatob-i avatar May 31 '21 12:05 Oluwatob-i

And how are you calling flashloan without IUniswapV2Pair(pairAddress).swap( amount0, amount1, address(this), bytes('not empty') );

Oluwatob-i avatar May 31 '21 12:05 Oluwatob-i

And how are you calling flashloan without IUniswapV2Pair(pairAddress).swap( amount0, amount1, address(this), bytes('not empty') );

Oluwatob-i avatar May 31 '21 12:05 Oluwatob-i

Hey @Oluwatob-i thanks for pointing this out, i initially had this up for uniswap, recently started porting most of the code for pancakeswap, will definitely change method name to pancakeCall() before deploying the bot.

Also for this bot, flashloan calls aren't done in the contract. this is where you can find the call https://github.com/ogwurujohnson/arbitrage-bot/blob/main/index.ts#L107

ogwurujohnson avatar May 31 '21 12:05 ogwurujohnson

Hi there! @ogwurujohnson I saw you made some changes with the pancakeCall(). Have you try it on mainnet?

fergmolina avatar May 31 '21 13:05 fergmolina

Sure, will add this soon.

Hey there, any updates on the install/execution steps? Thanks 🙏

StrainzAgent avatar Jun 23 '21 12:06 StrainzAgent

Hi @ogwurujohnson , Is there any update on a sample Documentation how to set this up? Thanks a lot.

officialasit avatar Jul 28 '21 07:07 officialasit

Setup Instructions I followed: npm install trypescript tsc index.ts --resolveJsonModule --esModuleInterop node index.js But.....I am getting this error: Bot started! (node:21074) UnhandledPromiseRejectionWarning: Error: network does not support ENS (operation="ENS", network="unknown", code=UNSUPPORTED_OPERATION, version=providers/5.0.24)

Spent quite sometime trying to figure this out, but to no avail. Any idea what is happening here?

solidnav avatar Aug 19 '21 13:08 solidnav