Code Monkey home page Code Monkey logo

Comments (8)

restorepro avatar restorepro commented on August 19, 2024

Verify your metamask wallet addresses.

from defi-bot.

Watermana avatar Watermana commented on August 19, 2024

Verify your metamask wallet addresses.

All the addresses in my .env file are correct to my metamask wallet.

from defi-bot.

restorepro avatar restorepro commented on August 19, 2024

Did you get it to work yet? I am getting a web3 error when I run the index.js file...

from defi-bot.

restorepro avatar restorepro commented on August 19, 2024

Here is my output that I get when I run the script...

qwert@eqrt-MacBook-Pro defi-bot-1 % node src/index.js
Listening on 5000
Fetching market data @ 2021-05-31T16:44:51-05:00 ...

Order has taker fee
Order has taker fee
Order has taker fee
Order has taker fee
Order has taker fee
Order has taker fee
Order has taker fee
Order has taker fee
Order has taker fee
Order has taker fee
Order has taker fee
/Users/qwert/test/defi-bot-1/node_modules/web3-eth-abi/lib/index.js:298
throw new Error('Returned values aren't valid, did it run Out of Gas? ' +

from defi-bot.

restorepro avatar restorepro commented on August 19, 2024

I read in a few places that it may be the version of web3.js that causes the issue or changing the compiler version from 5.17 to a lower 5.x version in remix. I tried both and neither worked for me.
Screen Shot 2021-05-31 at 5 55 46 PM

from defi-bot.

restorepro avatar restorepro commented on August 19, 2024

Did you add the HDWallets package and configure it in the truffle-config.js file?

from defi-bot.

dnblack3 avatar dnblack3 commented on August 19, 2024

could this be the issue?
https://docs.soliditylang.org/en/v0.8.6/050-breaking-changes.html
Explicitness requirement

from defi-bot.

tdev00 avatar tdev00 commented on August 19, 2024

Has anyone solved this issue? I was not able to. I was not able to run the project from the root directory or from the src. "node index.js" from the src or "node src/index.js" from the root dir.

My env file is in the root directory, and the address matches up with my metamask address. What else could it be?

from defi-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.