Runned this file: https://github.com/jklepatch/eattheblocks/blob/master/profitable-flashloans/30-make-arbitrage-script-run-247/run-arbitrage.js
I've installed every package but......I've got this error when I run it.
TypeError: Cannot read property 'address' of undefined at init (line 29-35).
These are the lines.
const init = async () => {
const networkId = await web3.eth.net.getId();
const flashloan = new web3.eth.Contract(
Flashloan.abi,
Flashloan.networks[networkId].address
);