settings: one network config per bitcoin network
This commit is contained in:
parent
a619970b48
commit
566b746ffd
1 changed files with 10 additions and 3 deletions
13
config.js
13
config.js
|
|
@ -15,9 +15,16 @@ var defaultConfig = {
|
||||||
|
|
||||||
// network layer config
|
// network layer config
|
||||||
network: {
|
network: {
|
||||||
host: 'test-insight.bitpay.com',
|
testnet: {
|
||||||
port: 443,
|
host: 'test-insight.bitpay.com',
|
||||||
schema: 'https'
|
port: 443,
|
||||||
|
schema: 'https'
|
||||||
|
},
|
||||||
|
livenet: {
|
||||||
|
host: 'insight.bitpay.com',
|
||||||
|
port: 443,
|
||||||
|
schema: 'https'
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
// wallet default config
|
// wallet default config
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue