Skip to main content
4 events
when toggle format what by license comment
Apr 2 at 5:53 comment added Chris An "artifact" is the output file of building/compiling a smart contract with hardhat. It contains "the information that is necessary to deploy and interact with the contract." (see: hardhat docs) and is generated when running hardhat compile for all solidity files in your project. The above example assumes that you are working in a hardhat project where you have compiled a contract with the name "MyContract". Your error suggest, that is not the case.
Feb 29 at 7:17 comment added ekkis that also results in [HardhatError: HH700: Artifact for contract "MyContract" not found]. I have to have an "artifact" (whatever that means)
S Nov 22, 2021 at 11:48 review First answers
Nov 22, 2021 at 12:43
S Nov 22, 2021 at 11:48 history answered Chris CC BY-SA 4.0