-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.ts
46 lines (42 loc) · 1.07 KB
/
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
43
44
45
46
import { HardhatUserConfig } from "hardhat/config";
import "@nomiclabs/hardhat-ethers";
import "@nomiclabs/hardhat-waffle";
import "@nomiclabs/hardhat-etherscan";
import "hardhat-gas-reporter";
import "solidity-coverage";
import "hardhat-abi-exporter";
import {
deployerPrivateKey,
infuraAPIKey,
coinmarketcapKey,
etherscanKey,
} from "./.env.json";
import "./scripts/tasks/batchMint";
import "./scripts/tasks/lottery";
import "./scripts/tasks/setBaseURI";
import "./scripts/tasks/setPreOrder";
import "./scripts/tasks/setOpensea";
import "./scripts/tasks/getOwners";
const config: HardhatUserConfig = {
solidity: "0.8.4",
defaultNetwork: "hardhat",
networks: {
rinkeby: {
url: `https://rinkeby.infura.io/v3/${infuraAPIKey}`,
accounts: [deployerPrivateKey],
},
mainnet: {
url: `https://mainnet.infura.io/v3/${infuraAPIKey}`,
accounts: [deployerPrivateKey],
},
},
gasReporter: {
currency: "USD",
gasPrice: 100,
coinmarketcap: coinmarketcapKey,
},
etherscan: {
apiKey: etherscanKey,
},
};
export default config;