forked from makerdao/multicall
-
Notifications
You must be signed in to change notification settings - Fork 0
/
truffle-config.js
37 lines (36 loc) · 918 Bytes
/
truffle-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
const { argv } = require("yargs");
const HDWalletProvider = require("@truffle/hdwallet-provider");
module.exports = {
networks: {
mainnet: {
provider: () => new HDWalletProvider({
retryTimeout: 9999999,
privateKeys: [ argv.privkey ],
providerOrUrl: "http://mainnet2.edgewa.re:9933",
}),
enableTimeouts: false,
network_id: 2021
},
beresheet: {
provider: () => new HDWalletProvider({
retryTimeout: 9999999,
privateKeys: [ argv.privkey ],
providerOrUrl: "http://beresheet2.edgewa.re:9933",
}),
enableTimeouts: false,
network_id: 2021
},
development: {
provider: () => new HDWalletProvider({
privateKeys: [ argv.privkey ],
providerOrUrl: "http://localhost:9933/",
}),
network_id: 2021
},
},
compilers: {
solc: {
version: argv.solcVersion
}
}
};