Brownie Advanced
Last updated
Last updated
Remix knows that these are npm packages to be downloaded.
Brownie cannot download directly from npm, but it can download directly from github.
To allow for this, we need to input dependencies into brownie-config.yaml file:
dependencies section tells brownie what to download from where.
compiler section tells compiler that @chainlink is to be remapped to a specific dependency that was downloaded.
will be downloaded in to build/contracts/dependencies
as a json
if you get file outside of allowed directories or not found, might need to:
npm install @chainlink/contracts OR npm install @chainlink/contracts --save run cmds in project root directory