-
Notifications
You must be signed in to change notification settings - Fork 5
/
config.ts
69 lines (60 loc) · 1.86 KB
/
config.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
export default {
NETWORKS: {
ETH: true,
BTC: true,
ALGO: true,
AE: true,
MATIC: true,
AVAX: true,
BNB: true,
DAI: true,
USDC: true,
WBTC: true,
TBTC: true,
XDC: true,
},
// The amount of fee that is charged by JellySwap protocol.
// Currently the usage of JellySwap protocol is free
FEE: 0.0,
// Slippage percentage determined by JellySwap Protocol.
// Do not change this value or some of your orders could fail
SLIPPAGE: 0.03,
// Choose wheter you will cover the fees for the user on their first withdraw or not.
// If a user wants to swap BTC for ETH, but his ETH wallet is empty, he won't be able to make the withdraw.
// By enabling this option, you will perform the withraw for the user, only if his address has 0 ETH balance
COVER_FEES: false,
// ================== Balance Snapshot ==================
// Saves you current balance on every x seconds.
// You can track your portfolio P&L with this option
BALANCE_SNAPSHOT_INTERVAL: 3600,
PRICE: {
COINS: ['ETH', 'BTC', 'AE', 'DAI', 'WBTC', 'TBTC', 'USDC', 'USDT', 'ONE', 'MATIC', 'AVAX', 'BNB', 'XDC', 'ALGO'],
},
DUPLICATE_PRICE: { DAI: 'USDC', WBTC: 'BTC', TBTC: 'BTC' },
// ================== Binance configuration ==================
BINANCE: {
PAIRS: {
ETHBTC: true,
BTCALGO: true,
BTCUSDT: true,
AEETH: true,
AEBTC: true,
ETHUSDC: true,
BTCUSDC: true,
ONEBTC: true,
},
PRECISION: {
ETH: 3,
BTC: 4,
ALGO: 4,
BNB: 4,
XDC: 1,
AE: 1,
MATIC: 1,
ONE: 1,
USDT: 4,
USDC: 4,
DAI: 4,
},
},
};