forked from BrightID/BrightID-Soulbound-Token
-
Notifications
You must be signed in to change notification settings - Fork 0
/
truffle-config.js
40 lines (36 loc) · 904 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
38
39
40
require('dotenv').config();
const HDWalletProvider = require('@truffle/hdwallet-provider');
module.exports = {
networks: {
rinkeby: {
provider: () => new HDWalletProvider(
`${process.env.DEPLOYER_PRIVATE_KEY}`, `https://rinkeby.infura.io/v3/${process.env.INFURA_KEY}`),
network_id: 4,
gas: 29000000,
confirmations: 2
},
gnosis: {
provider: () => new HDWalletProvider(
`${process.env.DEPLOYER_PRIVATE_KEY}`, `https://poa-xdai.gateway.pokt.network/v1/lb/${process.env.PORTAL_KEY}`),
network_id: 100,
gas: 29000000,
gasPrice: 1000000000,
confirmations: 2,
networkCheckTimeout: 10000000
}
},
compilers: {
solc: {
version: "0.8.11",
settings: {
optimizer: {
enabled: true,
runs: 200
}
},
},
},
plugins: [
'truffle-plugin-stdjsonin'
]
}