/* hardhat.config.js */
/* hardhat.config.js */
require('@nomiclabs/hardhat-waffle');
require('hardhat-contract-sizer');
const fs = require('fs');
const privateKey = 'xxx';
const projectId = 'xx';
module.exports = {
defaultNetwork: 'hardhat',
networks: {
hardhat: {
chainId: 1337,
allowUnlimitedContractSize: true,
},
matic: {
url: 'https://polygon-mumbai.g.alchemy.com/v2/2bGIFu-iEnl9RvAOTe1ddZI2gBnuYQGS',
accounts: [privateKey],
},
},
solidity: {
version: '0.8.4',
settings: {
optimizer: {
enabled: true,
runs: 200,
},
},
},
};