This is the deploy script that I have written still it is not running.
1 Answer
Try two things:
Comment out the require statement.
Directly use
deployContract
function.const mynft= await ethers.deployContract("MyNFT"); await wallet.waitForDeployment();
Also notice in the console log statement that mynft.address
should be mynft.target