Open daidokoro opened 3 years ago
I've deployed on the Ropsten test net and I'm getting the exact same error. Did you get to know @daidokoro on why this is happening? I have around 5 ETH on the wallet so I think it's not because of insufficient funds.
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 0.00128 ETH
. The exact same values as the Node version. Given the nature of trading and arbitrage, it's strange to not see more arbitrary values. (arbitrary --> arbitrage), it's in the name.
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