-
Notifications
You must be signed in to change notification settings - Fork 4
/
config.js
28 lines (26 loc) · 1.08 KB
/
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
const configs = {
dev: {
environment: 'development',
termsAndConditionsHash: 'QmYDmtmDYUPR6wjukzaNytibeNnYs41s2co4tNzkUYdd5n',
statutesHash: 'QmcGNi9dcVgLJGtxJzjU2CyrrmVKkLnNPEK8JJC2a98zC5',
mailTo: '[email protected]',
rpcEndpointXdai: 'https://rpc.xdaichain.com/',
RegistryAddress: '0x73e7427428f6C77C180d17F48909780c839954a7',
MinterAddress: '0x9f92813542Fc66Cd0e530501b4ec62B982B0dEb9',
minterDeployedBlock: 1000,
requiredConfirmationXdai: 1,
},
production: {
environment: 'production',
termsAndConditionsHash: 'QmYDmtmDYUPR6wjukzaNytibeNnYs41s2co4tNzkUYdd5n',
statutesHash: 'QmcGNi9dcVgLJGtxJzjU2CyrrmVKkLnNPEK8JJC2a98zC5',
mailTo: '[email protected]',
rpcEndpointXdai: 'https://rpc.xdaichain.com/',
RegistryAddress: '0x73e7427428f6C77C180d17F48909780c839954a7',
MinterAddress: '0x9f92813542Fc66Cd0e530501b4ec62B982B0dEb9',
minterDeployedBlock: 1000,
requiredConfirmationXdai: 1,
},
};
const config = process.env.NODE_ENV ? configs[process.env.NODE_ENV] : configs.dev;
module.exports = config;