Skip to content

Instantly share code, notes, and snippets.

@covelitein
Created March 17, 2023 12:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save covelitein/492156fb20fd064e230a1ac1df364a99 to your computer and use it in GitHub Desktop.
Save covelitein/492156fb20fd064e230a1ac1df364a99 to your computer and use it in GitHub Desktop.
dappBnb.hardhat.config.js
require("@nomiclabs/hardhat-waffle");
require('dotenv').config()
module.exports = {
defaultNetwork: "localhost",
networks: {
hardhat: {
},
localhost: {
url: "http://127.0.0.1:8545"
},
},
solidity: {
version: '0.8.11',
settings: {
optimizer: {
enabled: true,
runs: 200
}
}
},
paths: {
sources: "./src/contracts",
artifacts: "./src/abis"
},
mocha: {
timeout: 40000
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment