-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.ts
39 lines (36 loc) · 1013 Bytes
/
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
import { HardhatUserConfig } from 'hardhat/config'
import '@nomiclabs/hardhat-ethers'
const balance = '100000000000000000000000'
const accounts = [
'c3381a96fa2be2aae2f2798e0887272e634417710aa09ecad9328754cdc8db8a',
'33a3d35ee3408a701f0ff775390ede800f728562ed656ec0036f9e4fd96e7d5b',
'fd52fbad9cb1258e30e6f83d1f2ecb2f6702887c1444d968133f41f3edb3f566',
'73026645a77a51ebd812fd8780137f9b532a43cfadf379d1882dbfe5046bbff9',
'73c8d46d8610c89d3f727fdd18099d9a142878bf5e010e65ba9382b8bb030b06',
'630c184b1bb553100f94dc0dc8234b9334e0bf2e5595f83b1c494e09d5f5713a',
]
const config: HardhatUserConfig = {
defaultNetwork: 'localhost',
networks: {
localhost: {
url: 'http://127.0.0.1:8545',
accounts,
},
rinkeby: {
url: '',
accounts,
},
ropsten: {
url: '',
accounts,
},
mainnet: {
url: '',
accounts,
},
hardhat: {
accounts: accounts.map((acct) => ({ privateKey: acct, balance })),
},
},
}
export default config