-
Notifications
You must be signed in to change notification settings - Fork 2
/
hardhat.config.js
63 lines (58 loc) · 1.35 KB
/
hardhat.config.js
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
59
60
61
62
63
/**
* @type import('hardhat/config').HardhatUserConfig
*/
require('@nomiclabs/hardhat-ethers');
// Change private keys accordingly - ONLY FOR DEMOSTRATION PURPOSES - PLEASE STORE PRIVATE KEYS IN A SAFE PLACE
const privateKey1 =
'99b3c12287537e38c90a9219d4cb074a89a16e9cdb20bf85728ebd97c343e342';
const privateKey2 =
'your-private-key-here';
module.exports = {
defaultNetwork: 'hardhat',
networks: {
hardhat: {},
moonbase: {
url: 'https://rpc.testnet.moonbeam.network',
accounts: [privateKey2],
gasPrice: 0,
chainId: 1287,
},
standalone: {
url: 'http://127.0.0.1:9933',
accounts: [privateKey1],
network_id: '1281',
gasPrice: 0,
chainId: 1281,
},
},
solidity: {
compilers: [
{
version: '0.5.16',
settings: {
optimizer: {
enabled: true,
runs: 200,
},
},
},
{
version: '0.6.6',
settings: {
optimizer: {
enabled: true,
runs: 200,
},
},
},
],
},
paths: {
sources: './contracts',
cache: './cache',
artifacts: './artifacts',
},
mocha: {
timeout: 20000,
},
};