Lesson 11 -- Hardhat Starter Kit -- Error on local network #4093
-
Hello. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 13 replies
-
@betheashvin ethers.getContractAt() takes two arguments either address and name of the contract or abi and address of the contract.Looks like you were passing only one argument to the function. |
Beta Was this translation helpful? Give feedback.
-
@betheashvin It is not recognizing the |
Beta Was this translation helpful? Give feedback.
@betheashvin It is not recognizing the
PriceConsumerV3
contract, make sure it is deployed when you run the hardhat node. Then you can use it inside scripts.