-
Notifications
You must be signed in to change notification settings - Fork 49
/
simnet.ts
74 lines (70 loc) 路 2.21 KB
/
simnet.ts
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
import * as db from '../types';
import { SwapClientType } from '../../constants/enums';
const nodes = [
{
nodePubKey: '03ece33a30db1dbce4b62fa96a5e9541138a24997ef5672eebed2d332270e39542',
addresses: [
{ host: 'xud1.simnet.exchangeunion.com', port: 28885 },
{
host: 'hsfkqybnlkql5fgm3h72mqnrl5rh543hulkp7j6tzs7thq3fznjrkcid.onion',
port: 28885,
},
],
},
{
nodePubKey: '03df4f36fa35bd242263e8d09d6b422108dab1f08d91237bb3aa2dad957cf08a71',
addresses: [
{ host: 'xud.kilrau.com', port: 28885 },
{
host: 'ri3khz45h25dzxh32z2r7f3s2fgque6f77zygtanldio3z3ps3b3s3id.onion',
port: 28885,
},
],
},
] as db.NodeAttributes[];
const currencies = [
{ id: 'BTC', swapClient: SwapClientType.Lnd, decimalPlaces: 8 },
{ id: 'LTC', swapClient: SwapClientType.Lnd, decimalPlaces: 8 },
{
id: 'ETH',
swapClient: SwapClientType.Connext,
decimalPlaces: 18,
tokenAddress: '0x0000000000000000000000000000000000000000',
},
{
id: 'USDT',
swapClient: SwapClientType.Connext,
decimalPlaces: 6,
tokenAddress: '0x5C533069289be37789086DB7A615ca5e963Fe5Bc',
},
{
id: 'DAI',
swapClient: SwapClientType.Connext,
decimalPlaces: 18,
tokenAddress: '0x514a44ABFB7F02256eF658d31425385787498Fcd',
},
/*
{
id: 'XUC',
swapClient: SwapClientType.Connext,
decimalPlaces: 18,
tokenAddress: '0x468ee988fD0228A79f6CcC33fEc04249cdfD809E',
},
*/
] as db.CurrencyAttributes[];
const pairs = [
{ baseCurrency: 'ETH', quoteCurrency: 'BTC' },
{ baseCurrency: 'LTC', quoteCurrency: 'BTC' },
{ baseCurrency: 'BTC', quoteCurrency: 'USDT' },
{ baseCurrency: 'USDT', quoteCurrency: 'DAI' },
// { baseCurrency: 'BTC', quoteCurrency: 'DAI' },
// { baseCurrency: 'ETH', quoteCurrency: 'DAI' },
// { baseCurrency: 'ETH', quoteCurrency: 'USDT' },
// { baseCurrency: 'LTC', quoteCurrency: 'DAI' },
// { baseCurrency: 'LTC', quoteCurrency: 'USDT' },
// { baseCurrency: 'XUC', quoteCurrency: 'BTC' },
// { baseCurrency: 'XUC', quoteCurrency: 'ETH' },
// { baseCurrency: 'XUC', quoteCurrency: 'DAI' },
// { baseCurrency: 'XUC', quoteCurrency: 'USDT' },
] as db.PairAttributes[];
export { nodes, currencies, pairs };