Code Monkey home page Code Monkey logo

Comments (6)

cosimo-de-medici avatar cosimo-de-medici commented on August 19, 2024 1

The best approach is to fork mainnet with ganache-cli like this:
ganache-cli -p 7545 --fork mainnet
Then make sure that in truffle-config.js your "development" network is configured to connect to localhost:7545

@Nisthar @ccarnino @tudorelu

from defi-bot.

codemedici avatar codemedici commented on August 19, 2024

https://extropy-io.medium.com/arbitrage-bot-part-2-97e7b710dcf

Don't trade on main St until you understand what you are doing! Errors are costly. Comment out the contract call inside index.js or the best way for testing is to simulate using contracts on a testnet

from defi-bot.

tudorelu avatar tudorelu commented on August 19, 2024

Thank you kindly

from defi-bot.

Nisthar avatar Nisthar commented on August 19, 2024

@codemedici can you tell me what are the steps for using testnets? do i need to edit the smart contract (replace with testnet addresses) Right?

from defi-bot.

clacladev avatar clacladev commented on August 19, 2024

I am also interested in this. I am also trying to query 0x APIs on Ropsten without much success

from defi-bot.

Nisthar avatar Nisthar commented on August 19, 2024

@cosimo-de-medici i already have the ganache gui installed. also added the "development" options in truffle. Do you think its the same?

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.