hardhat.config.js 540 B

12345678910111213141516171819202122232425262728
  1. const fs = require('fs');
  2. const path = require('path');
  3. require("@nomiclabs/hardhat-truffle5");
  4. require("@nomiclabs/hardhat-solhint");
  5. require("solidity-coverage");
  6. for (const f of fs.readdirSync(path.join(__dirname, 'hardhat'))) {
  7. require(path.join(__dirname, 'hardhat', f));
  8. }
  9. /**
  10. * @type import('hardhat/config').HardhatUserConfig
  11. */
  12. module.exports = {
  13. solidity: "0.8.0",
  14. settings: {
  15. optimizer: {
  16. enabled: false,
  17. runs: 200,
  18. },
  19. },
  20. networks: {
  21. hardhat: {
  22. blockGasLimit: 10000000,
  23. },
  24. },
  25. };