You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
728 B
26 lines
728 B
let isTest = false;
|
|
|
|
const constant = isTest ? {
|
|
//服务端连接
|
|
serverUrl: 'http://wallet-api.weirui0755.com',
|
|
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/',
|
|
checkIp:'https://app.bilibili.com'
|
|
} : {
|
|
//服务端连接
|
|
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/'
|
|
}
|
|
|
|
export default {
|
|
constant,isTest
|
|
}
|
|
|