kaymen99 / aave-flashloan-arbitrage

This a smart contract for performing arbitrage with AAVE flashloan between Uniswap & Sushiswap
MIT License
127 stars 41 forks source link

ganache client issue #3

Open phithoon opened 1 year ago

phithoon commented 1 year ago

Hi guys,after starting bot im having:

Launching 'ganache-cli.cmd --chain.vmErrorsOnRPCResponse true --server.port 8545 --miner.blockGasLimit 12000000 --wallet.totalAccounts 10 --hardfork istanbul --wallet.mnemonic brownie --fork.url https://mainnet.infura.io/v3/<< HERE IS MY INFURA PROJECT>> --chain.chainId 1'... File "C:\Users\GENA.local\pipx\venvs\eth-brownie\lib\site-packages\brownie_cli__main.py", line 64, in main importlib.import_module(f"brownie._cli.{cmd}").main() File "C:\Users\GENA.local\pipx\venvs\eth-brownie\lib\site-packages\brownie_cli\run.py", line 45, in main network.connect(CONFIG.argv["network"]) File "C:\Users\GENA.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\network\main.py", line 50, in connect rpc.launch(active["cmd"], **active["cmd_settings"]) File "C:\Users\GENA.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\network\rpc\init__.py", line 84, in launch if web3.isConnected(): File "C:\Users\GENA.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\network\web3.py", line 117, in isConnected return super().isConnected() File "C:\Users\GENA.local\pipx\venvs\eth-brownie\lib\site-packages\web3\main.py", line 343, in isConnected return self.provider.isConnected() File "C:\Users\GENA.local\pipx\venvs\eth-brownie\lib\site-packages\web3\providers\base.py", line 108, in isConnected assert 'error' not in response AssertionError: Terminating local RPC client...

I ve tried installing ganache client globally,and for this project particularly with npm. Any suggestion how to make this work?