Mars
Mars copied to clipboard
Generate artifacts from subdirectories
While #15 I've stumbled upon a problem with hardhat generated *.json files stored in nested directories.
I see two options here:
- Scan directory provided with
--inputoption recursively. - Support glob patterns in
--inptu.
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.