Skip to content

Commit

Permalink
feat: configured hardhat-abi-exporter
Browse files Browse the repository at this point in the history
Signed-off-by: Logan Nguyen <[email protected]>
  • Loading branch information
quiet-node committed Mar 4, 2024
1 parent ef50040 commit b1c678e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ artifacts/
.openzeppelin/unknown-298.json
.env
test-results.*
contracts-abi/*
!contracts-abi/contracts

## --- Foundry Gitignore ---

Expand Down
5 changes: 5 additions & 0 deletions hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*
*/

require('hardhat-abi-exporter');
require('@openzeppelin/hardhat-upgrades');
require('@nomicfoundation/hardhat-foundry');
require('@nomicfoundation/hardhat-chai-matchers');
Expand Down Expand Up @@ -55,6 +56,10 @@ module.exports = {
},
},
},
abiExporter: {
path: './contracts-abi',
runOnCompile: true,
},
defaultNetwork: NETWORKS.local.name,
networks: {
local: {
Expand Down

0 comments on commit b1c678e

Please sign in to comment.