Hardhat tools with MAINNET FORKING:
-
Write a script that interacts with at least two functions on uniswap router contract excluding the one used in class [swapTokensForExactTokens].
-
Write a smart contract that does anything you want and deploy it to testnet and also use the script to call a write function in your smart contract.
-
Copy and paste the transaction hash inside your script file and push your project to gihub.
The two questions must be in the same hardhat file.
Try running some of the following tasks:
npx hardhat help
npx hardhat test
GAS_REPORT=true npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.ts