pythonbrownieopenzeppelin

Installing OpenZeppelin Dependencies in Brownie


In my brownie project, I want to install OpenZepplin dependencies. I have included the dependency in the config file, but Brownie is not automatically installing them. What am I doing wrong?

enter image description here

I tried hitting brownie compile


Solution

  • Have you installed openzepplin dependencies using the brownie pm first?

    You can install it using this:

    brownie pm install OpenZeppelin/openzeppelin-contracts@3.0.0
    

    Also, have a look at this link here for more info: https://eth-brownie.readthedocs.io/en/stable/package-manager.html