A set of contracts and tests to take a 1000 WETH flashloan from aave v3 built using forge.
create a .env with mainnet rpc url
echo "mainnet=<your_rpc_url>" > .env
$ forge build
$ forge test -vvvv
$ forge fmt
$ forge snapshot
$ anvil
$ forge script script/Counter.s.sol:CounterScript --rpc-url <your_rpc_url> --private-key <your_private_key>
$ cast <subcommand>
$ forge --help
$ anvil --help
$ cast --help