-
Notifications
You must be signed in to change notification settings - Fork 0
/
hardhat.config.ts
58 lines (54 loc) · 1.19 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
47
48
49
50
51
52
53
54
55
56
57
58
import 'dotenv/config';
import '@typechain/hardhat';
import '@nomiclabs/hardhat-waffle';
import 'hardhat-deploy';
import '@nomiclabs/hardhat-ethers';
import '@openzeppelin/hardhat-upgrades';
import { HardhatUserConfig } from 'hardhat/types';
import './tasks/deference_whatsYourWallet/mintBatch';
const config: HardhatUserConfig = {
solidity: {
version: '0.8.2',
settings: {
outputSelection: {
'*': {
'*': ['storageLayout'],
},
},
optimizer: {
enabled: true,
runs: 1,
},
},
},
networks: {
hardhat: {
mining: {},
},
baobab: {
url: 'https://kaikas.baobab.klaytn.net:8651',
chainId: 1001,
accounts: [process.env.ADMIN || ''],
gas: 850000000000,
timeout: 3000000,
gasPrice: 25000000000,
},
cypress: {
url: 'https://public-node-api.klaytnapi.com/v1/cypress',
chainId: 8217,
accounts: [process.env.ADMIN || ''],
gas: 850000000000,
timeout: 3000000,
gasPrice: 25000000000,
},
},
namedAccounts: {
deployer: 0,
},
paths: {
sources: './contracts',
tests: './test',
cache: './cache',
},
};
export default config;