shhwallet
Version:
64 lines (55 loc) • 1.42 kB
JavaScript
/**
* Services config.
*/
function getHost(name) {
return process.env.CI === 'true' ? name : '127.0.0.1';
}
/*
* Configuration
*/
const config = {
bitcoind: {
network: 'mainnet', //or mainnet
host: getHost('bitcoind'),
pass: 'terrificlion593Jamo0202',
password: 'terrificlion593Jamo0202',
port: 8332,
user: '426800@shhwallet',
username: '426800@shhwallet',
},
bitcoindtest: {
network: 'testnet',
host: getHost('bitcoind'),
user: '426800@shhwallet',
pass: 'terrificlion593Jamo0202',
port: 18333,
password: 'terrificlion593Jamo0202',
username: '426800@shhwallet',
},
bitcoindSsl: {
host: 'localhost',
pass: 'terrificlion593Jamo0202',
port: 18334,
username: '426800@shhwallet'
},
bitcoindUsernameOnly: {
host: 'localhost',
port: 18335,
username: '426800@shhwallet'
},
api: {
'name' : 'shhAPI',
'secret': '9mu2L4VeiWkPLXEoWAbvwzb-nyw6eA2NY1gUgNR33Adqec1PHzFLomeYhFD6whq4ieWpHAwF1WeZgFCqpd6o8W00054587Q',
'database': 'mongodb://shhwallet:terrificlion593Jamo0202@127.0.0.1:27017/shhwallet', //Mongodb URI
'auth_duration' : 600, //seconds
'auth_uri' : 'auth',
'min_conf' : 3,
},
site: {
origin : 'https://arunpanneerselvam.com',
},
};
/**
* Export `config`.
*/
module.exports = config;