-
Notifications
You must be signed in to change notification settings - Fork 465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Insufficient Funds Error #8
Comments
I've deployed on the Ropsten test net and I'm getting the exact same error. |
Are you using vs code as your ide? |
any update on this ? |
Hey Guys any update on this, there are some improvements I would like to push, So I will fork the repo, these are mainly on the price format nothing major. But this issue on the other hand makes no sense to me. I have about 96 eth on the acc that deployed the contract. on a forked mainnet running on infura and have about 1 eth on the contract itself yet im still getting this issue. Didnt wanna open a new issue as this is here, but can we solve this please. Thanks |
I was unable to get it to function, moved on to something else... |
Not giving up will post back later today. |
Hey, so in the end I wasn't able to resolve this. I went as far as to rewrite most of this in Go. I was able to get the Go version to scan for arbitrage using the same contracts however, the only arbitrages that were detected were always for I didn't go any further due to time constraints. The smart contract itself may require a look. |
Hi,
First off thanks for putting this together. It has been extremely useful in better understanding Smart Contracts and Arbitrage in general.
I'm currently using the project as a basis to create my own bot in Go.
Currently when I run the node app I get an Insufficient Funds error whenever an arbitrage opportunity is detected.
Error:
My Config
The account I'm using currently has a balance of 0.8 ETH
I have tried reducing the FLASH_AMOUNT variable in the script as I believed maybe it was trying to borrow more than it could actually afford, but even with the value set to 1 ETH, I still get the same error.
I also noticed that the Input value shown in the table is always 0.00128. When I print out the non-profitable values, the inputs vary, but only the input value above seems to show up when a profitable arbitrage is detected.
Is there something i'm missing here?
Thanks in advance
The text was updated successfully, but these errors were encountered: