Skip to content

Commit

Permalink
Update en/20/02.md
Browse files Browse the repository at this point in the history
Co-authored-by: Andrei Popescu <[email protected]>
  • Loading branch information
PatrickAlphaC and andreipope authored Oct 12, 2021
1 parent ecb7602 commit 07eff1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion en/20/02.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ interface AggregatorV3Interface {
```
And we can find it in the <a href="https://github.com/smartcontractkit/chainlink/blob/master/contracts/src/v0.6/interfaces/AggregatorV3Interface.sol" target=_new>GitHub repo for AggregatorV3Interface</a>.
We can either import directly from Github, or from [NPM packages](https://www.npmjs.com/package/@chainlink/contracts) to get this contract. The framework you're using (like Truffle, Brownie, Remix, Hardhat) will determine whether or not to use github or NPM packages, but the syntax will be approximately the same!
We can either import directly from GitHub, or from <a href="https://www.npmjs.com/package/@chainlink/contracts" target=_new>NPM packages</a> to get this contract. The framework you're using (like Truffle, Brownie, Remix, Hardhat) will determine whether or not to use GitHub or NPM packages, but the syntax will be approximately the same!
We can import this interface using `@chainlink/contracts` and then the file path of the contract that we want, which for this contract is `src/v0.6/interfaces/AggregatorV3Interface.sol`.
Expand Down

0 comments on commit 07eff1d

Please sign in to comment.