forked from gnosis/MultiSigWallet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
31 lines (28 loc) · 777 Bytes
/
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
var txDefaultOrig =
{
gasLimit: 3141592,
gasPrice: 18000000000,
ethereumNode: "https://mainnet.infura.io:443",
alertsNode: 'https://alerts.gnosis.pm',
connectionChecker:{
method : "OPTIONS",
url : "https://www.google.com",
checkInterval: 5000
},
wallet: "injected",
// Testrpc
// walletFactoryAddress: "0xd79426bcee5b46fde413ededeb38364b3e666097"
// Ropsten
// walletFactoryAddress: "0xa6d9c5f7d4de3cef51ad3b7235d79ccc95114de5"
// Mainnet
walletFactoryAddress: "0xA0dbdaDcbCC540be9bF4e9A812035EB1289DaD73"
};
var txDefault = {};
/**
* Reload configuration
*/
function loadConfiguration () {
var userConfig = JSON.parse(localStorage.getItem("userConfig"));
Object.assign(txDefault, txDefaultOrig, userConfig);
}
loadConfiguration();