wighawag / hardhat-deploy

hardhat deployment plugin
MIT License
1.2k stars 296 forks source link

Break up deployments JSON file into addresses + ABIs separately #268

Open rhlsthrm opened 2 years ago

rhlsthrm commented 2 years ago

Is your feature request related to a problem? Please describe. The generated deployments.json file can get huge, and the ABIs are repeated.

Describe the solution you'd like One file called contracts.json that only has contract addresses per chain, and a file called abis.json has ABIs per contract.

Describe alternatives you've considered Manual scripts.

Additional context Makes bundle size huge if this file is imported.