diff --git a/README.md b/README.md index 16f8957..74908ad 100644 --- a/README.md +++ b/README.md @@ -425,6 +425,12 @@ If the Hardhat project does not store its compilation artifacts in the default d dv init --project --address
--contractname --implementation --implementationproject --implementationenv hardhat --implementationartifacts new.dvf.json ``` +If you have to use an external build-info (i.e., you don't want `dv` to build the implementation project), you can specify the path to the implementation project's build-info directory with `--implementationbuildcache`: + +``` +dv init --project --address
--contractname --implementation --implementationproject --implementationbuildcache new.dvf.json +``` + Please note that this does not validate the implementation contract itself. If there are any security risks associated with the implementation contracts, you should create another DVF for it and then create a reference (see [References](#references)) from the original DVF to the implementation contract's DVF. ### Factories