Closed Marvmaster closed 3 years ago
I was figure out, how to get it to work. The problem was, that I wanted to use my own geth instance instead of infura.io. This geth instance was listening on 127.0.0.1:8545 and I configured this in .env accordingly. However index.js always tried to connect to infura.io instead of local geth. I then removed infura-web3-provider from the package.json file (line 22). Now index.js successfully connects to the local geth instance instead of infura.io. :-)
close it?
Hi guys and gals,
I was able to successfully deploy the TradingBot.sol contract to the mainnet (after many unsuccessful attempts on Ropsten and Rinkeby). Then I wanted to get index.js to run. After commenting out line 327, I did a yarn install and npm install in the directory and then ran node src/index.js. However I always get the following error messages in return:
This error message appears almost every time. The cases, where two Fetching market data messages appear after another are extremely rare. Does anyone have an idea how to solve this? Thanks
Best Regards