When started writing the code in script folder in file fund.js for funding the contract. I have written exact code as shown in the video tutorial but still it it giving me the error Error: No Contract deployed with name FundMe.
Here is the code for the reference
When i am using await deployments.fixture(["all"]) it is working correctly. So is it wrong to use fixture to solve this problem ? should i use some another method or way to resolve it ?
When started writing the code in script folder in file
fund.js
for funding the contract. I have written exact code as shown in the video tutorial but still it it giving me the errorError: No Contract deployed with name FundMe
. Here is the code for the referenceWhen i am using
await deployments.fixture(["all"])
it is working correctly. So is it wrong to use fixture to solve this problem ? should i use some another method or way to resolve it ?