-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhardhat.config.js
41 lines (41 loc) · 963 Bytes
/
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
const HDWalletProvider = require("@truffle/hdwallet-provider");
const mnemonic = "capable bleak north praise fog almost struggle legal stand apology select crouch";
module.exports = {
defaultNetwork: 'hardhat',
networks: {
hardhat: {},
dev: {
accounts: {
mnemonic: mnemonic,
path: "m/44'/889'/0'/0/",
initialIndex: 0,
count: 1,
},
url: "https://rpc.testnet.tomochain.com",
network_id: "89",
gas: 2000000,
gasPrice: 10000000000000,
},
quorum: {
url: 'http://127.0.0.1:22000',
},
},
solidity: {
version: '0.6.12',
settings: {
optimizer: {
enabled: true,
runs: 200,
},
},
},
paths: {
sources: './contracts',
tests: './test',
cache: './cache',
artifacts: './artifacts',
},
mocha: {
timeout: 20000,
},
};