In script/run.js the waveContract.deploy() function is not found.
Instead it should be const waveContract = await (await waveContractFactory.deploy()).waitForDeployment();
and waveContract.address should be await waveContract.getAddress();
Anything else?
I encountered issue while auto import of hre from hardhat.config.ts and i have to import it manually inside the script
What You Are Changing
In script/run.js the waveContract.deploy() function is not found. Instead it should be const waveContract = await (await waveContractFactory.deploy()).waitForDeployment(); and waveContract.address should be await waveContract.getAddress();
Anything else?
I encountered issue while auto import of hre from hardhat.config.ts and i have to import it manually inside the script