ExtropyIO / defi-bot

Tutorial for building DeFi arbitrage bots
1.17k stars 462 forks source link

Error when deploying: "TradingBot" hit a require or revert statement somewhere in its constructor #31

Closed githuber1001 closed 1 year ago

githuber1001 commented 1 year ago

I get the below error when deploying to Sepolia testnet.

"TradingBot" hit a require or revert statement somewhere in its constructor. Try:

Any insight into resolving this?

githuber1001 commented 1 year ago

In order to deploy the contract on a testnet like Ropsten or Rinkeby, users should change all contract addresses like the ones of exchanges and erc20 tokens from both the node.js bot and the smart contract.