Code Monkey home page Code Monkey logo

Comments (7)

ezynda3 avatar ezynda3 commented on August 19, 2024

I'm getting the same error. It seems that the ZRX trade is always getting 0 tokens back for some reason...

from defi-bot.

codemedici avatar codemedici commented on August 19, 2024

https://extropy-io.medium.com/arbitrage-bot-part-2-97e7b710dcf

The article explains it best. Essentially you are getting front-rjn, or at least that's the common opinion, I havent dug deep enough but it seems like the result from 0x is 0 because somebody front run you and hence 1inch complains that zero amount makes no sense (selling)

from defi-bot.

ezynda3 avatar ezynda3 commented on August 19, 2024

Ah ok. That makes sense then. Thanks!

from defi-bot.

codemedici avatar codemedici commented on August 19, 2024

@ezynda3 any updates on that? Have you tried testing with a forked version of Mainnet? That might prove or disprove whether it was front-runners after all.

from defi-bot.

nfujimori-godaddy avatar nfujimori-godaddy commented on August 19, 2024

@codemedici
I'm getting the same error. It seems that the ZRX trade is always getting 0
even with very high gas, did you found any issue on contract?

from defi-bot.

Welsh-Boogie avatar Welsh-Boogie commented on August 19, 2024

@Bcantz27 does this bot work?

from defi-bot.

codemedici avatar codemedici commented on August 19, 2024

@nfujimori-godaddy @Welsh-Boogie
Tbh I also go the same error when I was running the bot and it's been a year since, I never figured out the issue, haven't tried figuring it out either. I thought it was front runners that caused you to try and trade a 0 amount with OneInch (see the error message generated by the OneSplit contract ), but I'm not so sure actually...

So the question remains, has anyone been able to successfully run this bot?

from defi-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.