Open mujahidazamcsm opened 3 years ago
would be awesome
Sure, will add this soon.
How is it working without a pancakeCall function, you used uniswapv2Call
And how are you calling flashloan without
IUniswapV2Pair(pairAddress).swap( amount0, amount1, address(this), bytes('not empty') );
And how are you calling flashloan without
IUniswapV2Pair(pairAddress).swap( amount0, amount1, address(this), bytes('not empty') );
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
Hi there! @ogwurujohnson I saw you made some changes with the pancakeCall(). Have you try it on mainnet?
Sure, will add this soon.
Hey there, any updates on the install/execution steps? Thanks 🙏
Hi @ogwurujohnson , Is there any update on a sample Documentation how to set this up? Thanks a lot.
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?
Hi Bro..
Great job with the script.. can u plz share some setup / deployment instructions as well for this.