|
|
@ -1,4 +1,4 @@ |
|
|
|
let isTest = true; |
|
|
|
let isTest = false; |
|
|
|
|
|
|
|
const constant = isTest ? { |
|
|
|
//服务端连接
|
|
|
@ -6,14 +6,16 @@ const constant = isTest ? { |
|
|
|
coinTickerWs:'ws://wallet-quartz.weirui0755.com/websocket', |
|
|
|
ethNode:'http://47.245.25.82:8545', |
|
|
|
ethChainId:1, |
|
|
|
btcNetwork:'', |
|
|
|
ethTransctionDetail:'https://cn.etherscan.com/tx/', |
|
|
|
trxTransctionDetail:'https://tronscan.io/#/transaction/' |
|
|
|
} : { |
|
|
|
//服务端连接
|
|
|
|
serverUrl: 'http://wallet-api.weirui0755.com', |
|
|
|
coinTickerWs:'ws://wallet-quartz.weirui0755.com/websocket', |
|
|
|
serverUrl: 'https://api.bitcooo.com/', |
|
|
|
coinTickerWs:'wss://quartz.bitcooo.com/websocket', |
|
|
|
ethNode:'http://47.245.25.82:8545', |
|
|
|
ethChainId:3, |
|
|
|
btcNetwork:'', |
|
|
|
ethTransctionDetail:'https://cn.etherscan.com/tx/', |
|
|
|
trxTransctionDetail:'https://tronscan.io/#/transaction/' |
|
|
|
} |
|
|
|