-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathhardhat.config.ts
42 lines (39 loc) · 977 Bytes
/
hardhat.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import { ethers } from 'ethers'
const chai = require('chai')
const expect = chai.expect;
const assert = chai.assert
import 'hardhat-deploy'
import 'hardhat-deploy-ethers'
import "@nomiclabs/hardhat-waffle"
import "@nomiclabs/hardhat-ethers"
import "solidity-coverage"
import "hardhat-gas-reporter"
import '@openzeppelin/hardhat-upgrades'
import "@nomiclabs/hardhat-etherscan";
const {
HardhatNetworkConfig,
HardhatSolidityConfig,
HardhatGasReporterConfig,
EtherscanConfig,
} = require('./SmartContractProjectConfig/config.js');
const networks = HardhatNetworkConfig;
const solidity = HardhatSolidityConfig;
const gasReporter = HardhatGasReporterConfig;
const etherscan = EtherscanConfig;
/**
* @type import('hardhat/config').HardhatUserConfig
*/
module.exports = {
networks,
mocha: {
timeout: 500000,
},
solidity,
namedAccounts: {
deployer: {
default: 0,
},
},
etherscan,
gasReporter,
};