Giter VIP home page Giter VIP logo

Comments (4)

kaymen99 avatar kaymen99 commented on June 22, 2024

The use of mainnet-fork is only for testing, you can change it to the Koran testnet or to the real ethereal mainnet (but be careful you'll be using real money in this case)
If you want to use other networks you need to check the ones that both Sushiswap and uniswap are deployed to, and add their respective addresses into the brownie-config.yaml file

from uniswap-sushiswap-arbitrage.

RocketNinja15 avatar RocketNinja15 commented on June 22, 2024

Ah Okay!

Installing this I had some issues

New compatible solc version available: 0.6.12
Compiling contracts...
  Solc version: 0.6.12
  Optimizer: Enabled  Runs: 200
  EVM Version: Istanbul
WARNING: Unable to compile aave/[email protected] due to a CompilerError - you may still be able to import sources from the package, but will be unable to load the package directly.```

2.

```Rocket1@Carters-MacBook-Pro uniswap-sushiswap-arbitrage % brownie run scripts/arbitrage.py --network=mainnet-fork
Brownie v1.17.2 - Python development framework for Ethereum

UniswapSushiswapArbitrageProject is the active project.

Launching 'ganache-cli --port 8545 --gasLimit 12000000 --accounts 10 --hardfork istanbul --mnemonic brownie --fork https://mainnet.infura.io/v3/57f794b83cf64c88a948f49ff6ba34ef --chainId 1'...
  File "brownie/_cli/__main__.py", line 64, in main
    importlib.import_module(f"brownie._cli.{cmd}").main()
  File "brownie/_cli/run.py", line 44, in main
    network.connect(CONFIG.argv["network"])
  File "brownie/network/main.py", line 50, in connect
    rpc.launch(active["cmd"], **active["cmd_settings"])
  File "brownie/network/rpc/__init__.py", line 93, in launch
    raise RPCProcessError(cmd, uri)
RPCProcessError: Unable to launch local RPC client.
Command: ganache-cli
URI: http://127.0.0.1:8545 


> The use of mainnet-fork is only for testing, you can change it to the Koran testnet or to the real ethereal mainnet (but be careful you'll be using real money in this case) If you want to use other networks you need to check the ones that both Sushiswap and uniswap are deployed to, and add their respective addresses into the brownie-config.yaml file

from uniswap-sushiswap-arbitrage.

kaymen99 avatar kaymen99 commented on June 22, 2024

try to install ganache-cli : npm install -g ganache-cli

from uniswap-sushiswap-arbitrage.

RocketNinja15 avatar RocketNinja15 commented on June 22, 2024

npm install -g ganache-cli

npm ERR! path /usr/local/bin/ganache-cli
npm ERR! EEXIST: file already exists
npm ERR! File exists: /usr/local/bin/ganache-cli
npm ERR! Remove the existing file and try again, or run npm
npm ERR! with --force to overwrite files recklessly.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/Rocket1/.npm/_logs/2022-05-05T23_00_10_578Z-debug-0.log

from uniswap-sushiswap-arbitrage.

Related Issues (5)

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.