uniswap-sushiswap-arbitrage-bot icon indicating copy to clipboard operation
uniswap-sushiswap-arbitrage-bot copied to clipboard

how can i run this demo on local chain.

Open yzjsbsb opened this issue 3 years ago • 0 comments

Because i notice that in demo_enviroment.js, //uniswap const IRouter = require('@uniswap/v2-periphery/build/IUniswapV2Router02.json') const uRouter = new web3.eth.Contract(IRouter.abi,'0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D') //sushiswap const sRouter = new web3.eth.Contract(IRouter.abi,'0xd9e1cE17f2641f24aE83637ab66a2cca9C378B9F') You use '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D'and '0xd9e1cE17f2641f24aE83637ab66a2cca9C378B9F',they are the real address in Mainnet,and i want to know what it is 'ganache-cli --fork https://eth-mainnet.alchemyapi.io/v2/qolQHYLqPhksKzW-QBEzlzdW14pRZnTr -b 2 -d' work for, does it means run the local chain?Anyway, thx~~

yzjsbsb avatar Oct 22 '21 07:10 yzjsbsb