Asked in FlexDapps Discord:
solidity-docgen
can’t compile OpenZeppelin Contracts installed through brownie pm
.
Installing OpenZeppelin Contracts with npm
then causes Brownie to complain.
Asked in FlexDapps Discord:
solidity-docgen
can’t compile OpenZeppelin Contracts installed through brownie pm
.
Installing OpenZeppelin Contracts with npm
then causes Brownie to complain.
solidity-docgen
looks for dependencies in node_modules
. Where does brownie store installed contracts?
@iamdefinitelyahuman advised Brownie stores OpenZeppelin Contracts in: ~/.brownie/packages/[ORG]/[REPO]@[VERSION]
In that case it will not work. We look in node_modules
specifically. I would be okay with adding Brownie support but don’t have the time to do it, but I can review a PR if someone wants to provide one.