forked from rhinofi/client-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
40 lines (32 loc) · 1.1 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
29
30
31
32
33
34
35
36
37
38
39
40
module.exports = {
// api: 'https://api.deversifi.com',
api: 'https://api.stg.deversifi.com',
gasApi: 'https://ethgasstation.info',
// default transaction arguments
defaultGasLimit: 300000,
defaultGasPrice: 50000000000,
// default stark related constants
// default expiration time for transfers and orders in hours
defaultStarkExpiry: 4320,
// default nonce age in seconds
defaultNonceAge: 43200,
// in case no provider is provided we will try connecting to the this default
// address
defaultProvider: 'http://localhost:8545',
// default account to select in case no account is provided by the userConfig
// parameter
account: 0,
// selects account from web3 provider based on config.account upon
// initialization
autoSelectAccount: true,
// Ledger Stark Path Constants
purpose: 2645,
plugin: 579218131,
application: 1393043894,
accountIndex: 0,
// enables integrators to select if they want to fetch user config upon initialization
autoLoadUserConf: true,
autoLoadExchangeConf: true,
// enables integrations exposing starkProvider
starkProvider: null
}