Lesson 13: HardhatError: HH701: There are multiple artifacts for contract "AggregatorV3Interface" #2734
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
@t3reetan So you should only use one, why are you using multiple? You can use this latest one; import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol"; |
Beta Was this translation helpful? Give feedback.
-
Hey @t3reetan the easiest option here would be to rename the |
Beta Was this translation helpful? Give feedback.
-
Hey @t3reetan as a side observation, what context are you using the |
Beta Was this translation helpful? Give feedback.
@t3reetan So you should only use one, why are you using multiple?
You can use this latest one;