TrueFiEng / Mars

Mars is an infrastructure-as-code tool for Ethereum
https://ethereum-mars.readthedocs.io
103 stars 15 forks source link

Generate artifacts from subdirectories #27

Open jodator opened 3 years ago

jodator commented 3 years ago

While #15 I've stumbled upon a problem with hardhat generated *.json files stored in nested directories.

jodator commented 3 years ago

I see two options here:

  1. Scan directory provided with --input option recursively.
  2. Support glob patterns in --inptu.
nezouse commented 2 years ago

Any update on that? Docs just redirect to hardhat website:

Before all, you need to compile contracts (here’s how it’s done with Waffle, Truffle, Hardhat) This will generate JSON files with contract ABIs. Usually they can be found under ./build directory.

But it's not working with default hardhat config which can be really troublesome for new users.