Comments (7)
I'm getting the same error. It seems that the ZRX trade is always getting 0 tokens back for some reason...
from defi-bot.
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.
Ah ok. That makes sense then. Thanks!
from defi-bot.
@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.
@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.
@Bcantz27 does this bot work?
from defi-bot.
@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)
- Cannot find module 'dotenv' when executing
- TradingBot hit a require or revert statement somewhere in its constructor. HOT 12
- Cannot read property of 'address' of undefined HOT 8
- Can we deploy Tradingbot.sol on BSC or Polygon to save gas fee ? HOT 3
- UnimplementedFeatureError: HOT 1
- Problem in returning the loan HOT 1
- ts(1005) Error HOT 1
- [DEP0005] & [ERR_IPC_CHANNEL_CLOSED]
- I am getting this error when running: SyntaxError: Unexpected identifier HOT 17
- [Solved]: Error: Invalid JSON RPC response: "" HOT 2
- Trouble deploying TradingBot.sol HOT 3
- Hmm... This code looks awfully familiar where did you get it? HOT 1
- Hi HOT 3
- I got the gas estimation error when I deployed the trading bot contract. HOT 1
- Some help plz, have 2 issues HOT 2
- "Go to Remix online IDE and paste the smart contract solidity code", what exactly should I paste and in which file among other files in remix ide HOT 1
- Testnet Support HOT 1
- Error when deploying: "TradingBot" hit a require or revert statement somewhere in its constructor HOT 1
- Insufficient Funds Error HOT 7
- Got this error when trying to run. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from defi-bot.