Replies: 2 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
-
@0x3agle We are importing an interface not the contract and for it, we are installing import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol"; |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In lesson 4, we are importing
AggregatorV3Interface
from GitHub usingimport "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol";
My doubt is:
AggregatorV3Interface
is in the smart contract which is deployed on blockchain and Github/NPM is on Internet, then how can a smart contract import another smart contract from the Internet?Does it use an oracle?
if yes, can you please elaborate?
Beta Was this translation helpful? Give feedback.
All reactions