-
Notifications
You must be signed in to change notification settings - Fork 4
/
hardhat.config.ts
55 lines (53 loc) · 1.5 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
import '@nomiclabs/hardhat-waffle';
import '@typechain/hardhat';
import "hardhat-change-network";
import {HardhatUserConfig, NetworkUserConfig} from 'hardhat/types';
//import 'hardhat-deploy';
// You have to export an object to set up your config
// This object can have the following optional entries:
// defaultNetwork, networks, solc, and paths.
// Go to https://buidler.dev/config/ to learn more
const config: HardhatUserConfig = {
solidity: {
compilers: [
{
version: '0.8.4',
settings: {
// You should disable the optimizer when debugging
// https://hardhat.org/hardhat-network/#solidity-optimizer-support
optimizer: {
enabled: true,
runs: 200
},
},
},
],
},
networks: {
hardhat: {
mining: {
auto: true,
interval: 3000
}
},
ganache: {
url: "http://127.0.0.1:7545",
accounts: [
'0x1b6a52b57a4935e82f9860bc6ff108c694f10f9792e13f07ffac7379b043b919',
'0x90cb8f571a5e66159887cf813b4a04556f9d9d37cb6d6c148f48e32b3916d1d4'
]
},
pixie_test: {
url: "https://http-testnet.chain.pixie.xyz",
accounts: [
//do not use test PIXs in address below on other things, please
'0x986ad5a63c8fbb38fe3fcfa27948bb05828584b14a491cc7e411a606832eba22',
'0x038fea60b6994a873e47ae64416abc8d5c74387eb502166e89b1580b79293cb1'
]
},
hard: {
url: "http://127.0.0.1:8545"
}
}
};
export default config;