-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathapp.config.ts
300 lines (285 loc) · 9.78 KB
/
app.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
import type { URLEntry } from "@/utils/linkElements";
import { extractOriginsFromEnum } from "@/utils/extractOriginsFromEnum";
export enum SupportedPlatforms {
IOS = "ios",
MACOS = "macos",
WINDOWS = "windows",
ANDROID = "android",
LINUX = "linux",
CHROME = "chrome",
}
/** CONFIG HERE */
// Must be set via PUBLIC_WEB_URL CLI argument at build time
export const dappnetUrls = ["https://dappnet.beam.mw"];
export const productionUrls = ["https://beam.mw", "https://www.beam.mw"];
export const qqGroupId = 909677190;
export enum ExternalLinks {
// Socials
GITHUB = "https://github.com/BeamMW",
TELEGRAM = "https://t.me/BeamPrivacy",
X = "https://x.com/beamprivacy",
SUBSTACK = "https://beamprivacy.substack.com",
REDDIT = "https://www.reddit.com/r/beamprivacy/",
DISCORD = "https://discord.gg/BHZvAhg",
YOUTUBE = "https://www.youtube.com/@beamprivacy/videos",
ANCHOR = "https://anchor.fm/beam-privacy",
FORUM = "https://forum.beam.mw",
BITCOINTALK = "https://bitcointalk.org/index.php?topic=5052151",
MEDIUM = "https://medium.com/beam-mw",
QQ = "https://qm.qq.com/cgi-bin/qm/qr?k=qrfLNFTLxvThCgcF0fqPc2YFtDzMiUcm&authKey=8hGDPVzLLlTvX4SCBAeYc8TlaumsgvpTIdSUs3%2FU0K8U5piBp3znAYD%2Bd9n6vfEC",
COINGECKO = "https://www.coingecko.com/en/coins/beam",
CMC = "https://coinmarketcap.com/currencies/beam/",
BEAMASSETS = "https://beamassets.com",
// Other links
DOCS_SOURCES = "https://github.com/BeamMW/docs-gitbook",
DEX = "https://dex.beam.mw",
EXPLORER = "https://explorer.beam.mw",
MINING_SUPPORT = "https://t.me/BeamMiners",
MINING_CALCULATOR = "https://whattomine.com/coins?aq_3070=3&a_3070=true&aq_69xt=0&aq_68xt=0&aq_68=0&aq_67xt=0&aq_66xt=0&aq_vii=0&aq_5700xt=0&aq_5700=0&aq_5600xt=0&aq_vega64=0&aq_vega56=0&aq_4090=0&aq_4080=0&aq_47Ti=0&aq_39Ti=0&aq_3090=0&aq_38Ti=0&aq_3080=0&aq_37Ti=0&aq_3060Ti=0&aq_3060=0&aq_66=0&aq_55xt8=0&aq_580=0&aq_570=0&aq_480=0&aq_470=0&aq_fury=0&aq_380=0&aq_a5=0&aq_a45=0&aq_a4=0&aq_a2=0&aq_2080Ti=0&aq_2080=0&aq_2070=0&aq_2060=0&aq_166s=0&aq_1660Ti=0&aq_1660=0&aq_1080Ti=0&aq_1080=0&aq_1070Ti=0&aq_1070=0&aq_10606=0&aq_1050Ti=0&factor[eth_hr]=180.0&factor[eth_p]=390.0&factor[e4g_hr]=180.0&factor[e4g_p]=390.0&factor[zh_hr]=300.0&factor[zh_p]=540.0&factor[cnh_hr]=5250.0&factor[cnh_p]=540.0&factor[cng_hr]=8700.0&factor[cng_p]=540.0&factor[s5r_hr]=2.22&factor[s5r_p]=300.0&factor[cx_hr]=10.8&factor[cx_p]=510.0&factor[eqa_hr]=1170.0&factor[eqa_p]=540.0&factor[cc_hr]=30.6&factor[cc_p]=540.0&factor[cr29_hr]=30.9&factor[cr29_p]=540.0&factor[hh_hr]=1530.0&factor[hh_p]=240.0&factor[ct32_hr]=2.1&factor[ct32_p]=540.0&eqb=true&factor[eqb_hr]=102.0&factor[eqb_p]=540.0&factor[b3_hr]=3.6&factor[b3_p]=330.0&factor[ns_hr]=0.0&factor[ns_p]=0.0&factor[al_hr]=480.0&factor[al_p]=390.0&factor[ops_hr]=158.1&factor[ops_p]=540.0&factor[eqz_hr]=165.0&factor[eqz_p]=540.0&factor[zlh_hr]=204.0&factor[zlh_p]=450.0&factor[kpw_hr]=82.8&factor[kpw_p]=540.0&factor[ppw_hr]=82.2&factor[ppw_p]=540.0&factor[nx_hr]=219.0&factor[nx_p]=390.0&factor[fpw_hr]=75.0&factor[fpw_p]=450.0&factor[vh_hr]=3.57&factor[vh_p]=420.0&factor[cost]=0.1&factor[cost_currency]=USD&sort=Profitability24&volume=0&revenue=24h&factor[exchanges][]=&factor[exchanges][]=binance&factor[exchanges][]=bitfinex&factor[exchanges][]=bitforex&factor[exchanges][]=bittrex&factor[exchanges][]=coinex&factor[exchanges][]=exmo&factor[exchanges][]=gate&factor[exchanges][]=graviex&factor[exchanges][]=hitbtc&factor[exchanges][]=ogre&factor[exchanges][]=poloniex&factor[exchanges][]=stex&dataset=beam&commit=Calculate",
DEVELOPERS_SUPPORT = "https://t.me/beamdevsupport",
GENERAL_SUPPORT = "https://t.me/BeamSupport",
SUPPORT_EMAIL = "mailto:[email protected]",
BUILDS_SERVER = "https://builds.beam.mw",
}
export enum ExternalLinksTitle {
GITHUB = "GitHub",
TELEGRAM = "Telegram",
X = "X Profile",
SUBSTACK = "Substack",
REDDIT = "Reddit",
DISCORD = "Discord",
YOUTUBE = "YouTube",
ANCHOR = "Anchor",
FORUM = "Forum",
BITCOINTALK = "BitcoinTalk",
MEDIUM = "Medium",
QQ = "QQ",
COINGECKO = "CoinGecko",
CMC = "CoinMarketCap",
BEAMASSETS = "BeamAssets",
}
/**
* Preload: Instructs the browser to download and process high-priority resources early, improving load times.
* Preconnect: Establishes network connections to remote servers ahead of time, reducing connection setup latency.
* DNS-prefetch: Resolves domain names to IP addresses in advance, reducing the DNS lookup time when resources are requested from a different domain. This can speed up the overall page load time.
* Prerender: Loads and renders an entire web page in the background, making it instantly available when needed.
* Prefetch: Downloads and stores low-priority resources in advance, speeding up the loading of subsequent pages.
*/
export const preHtml = {
preconnect: [
new URL(ExternalLinks.EXPLORER).origin,
new URL(ExternalLinks.DEX).origin,
] as URLEntry[],
"dns-prefetch": extractOriginsFromEnum(ExternalLinks) as URLEntry[],
prerender: [] as URLEntry[],
prefetch: [] as URLEntry[],
};
export const docTypes = [
{
title: "docs.types.ecosystem",
image: "docs/coin-beam",
path: "/ecosystem",
},
{
title: "docs.types.desktop",
image: "docs/desktop",
path: "/desktop",
},
{
title: "docs.types.mobile",
image: "docs/mobile",
path: "/mobile",
},
{
title: "docs.types.web",
image: "docs/web",
path: "/web-wallet",
},
{
title: "docs.types.mining",
image: "docs/mining",
path: "/mining",
},
{
title: "docs.types.developers",
image: "docs/console",
path: "/dev",
},
{
title: "docs.types.node",
image: "docs/server",
path: "/node",
},
{
title: "docs.types.core",
image: "docs/core",
path: "/core-tech",
},
{
title: "docs.types.bridges",
image: "docs/bridges",
path: "/bridges",
},
{
title: "docs.types.atomicswaps",
image: "docs/atomic-swaps",
path: "/atomic-swaps",
},
{
title: "docs.types.cli",
image: "docs/console",
path: "/cli",
},
{
title: "docs.types.explorer",
image: "docs/desktop",
path: "/explorer",
},
];
export const miningSoftware = [
{
type: "AMD",
miningSoftware: [
{
name: "lolMiner",
link: "https://github.com/Lolliedieb/lolMiner-releases/releases",
},
{
name: "Gminer",
link: "https://github.com/develsoftware/GMinerRelease/releases",
},
{
name: "OpenCL",
link: "https://github.com/BeamMW/opencl-miner/releases/tag/opencl-miner_1.0.82",
},
],
},
{
type: "NVIDIA",
miningSoftware: [
{
name: "lolMiner",
link: "https://github.com/Lolliedieb/lolMiner-releases/releases",
},
{
name: "Gminer",
link: "https://github.com/develsoftware/GMinerRelease/releases",
},
{
name: "miniZ",
link: "https://miniz.ch/download/",
},
{
name: "Bminer",
link: "https://www.bminer.me/releases/",
},
{
name: "OpenCL",
link: "https://github.com/BeamMW/opencl-miner/releases/tag/opencl-miner_1.0.82",
},
],
},
];
export const exchangesBuy = [
{
title: "MEXC",
image: "exchanges/mexc",
link: "https://www.mexc.com/exchange/BEAM_USDT?_from=market",
},
{
title: "Gate.io",
image: "exchanges/gateio",
link: "https://www.gate.io/trade/BEAM_USDT",
},
{
title: "Uniswap",
image: "exchanges/uniswap",
link: "https://app.uniswap.org/swap?outputCurrency=0xE5AcBB03D73267c03349c76EaD672Ee4d941F499&inputCurrency=ETH",
},
{
title: "CoinEx",
image: "exchanges/coinex",
link: "https://www.coinex.com/exchange?currency=usdt&dest=beam#spot",
},
{
title: "Tradeogre",
image: "exchanges/tradeogre",
link: "https://tradeogre.com/exchange/BTC-BEAM",
},
{
title: "NonKYC",
image: "exchanges/nonkyc",
link: "https://nonkyc.io/market/BEAM_USDT",
},
];
export const instantExchangesBuy = [
/* {
title: "Beam4Me",
image: "instant-exchanges/beam4me",
link: "https://beam4.me/?from_curr=ETH&from_chain=1&to_curr=BEAM&to_chain=-1",
},*/
{
title: "Trocador",
image: "instant-exchanges/trocador",
link: "https://trocador.app/en/?ticker_to=beam&network_to=beam",
},
];
export const pressArticles = [
{
image: "coindesk",
href: "https://www.coindesk.com/the-first-cryptocurrency-to-use-mimblewimble-privacy-tech-is-now-live",
},
{
image: "forbes",
href: "https://www.forbes.com/digital-assets/assets/beam-beam/",
},
{
image: "coingecko",
href: "https://www.coingecko.com/learn/introduction-to-beam-cryptocurrency",
},
{
image: "benthamsgaze",
href: "https://www.benthamsgaze.org/2019/05/22/efficient-cryptographic-arguments-and-proofs-or-how-i-became-a-fractional-monetary-unit/",
},
{
image: "unchainedpodcast",
href: "https://unchainedpodcast.com/why-beam-thinks-businesses-will-use-its-cryptocurrency/",
},
{
image: "cryptocopia",
href: "https://www.youtube.com/watch?v=NZ_EkKUkY0s",
},
{
image: "cryptwerk",
href: "https://cryptwerk.com/pay-with/beam/",
},
{
image: "blockspot",
href: "https://blockspot.io/coin/beam/",
},
{
image: "bitcoinexchangeguide",
href: "https://bitcoinexchangeguide.com/crypto-privacy-coin-beam-ceo-tells-trade-io-why-he-is-such-a-big-believer-in-financial-privacy/",
},
{
image: "cryptonews",
href: "https://cryptonews.com/exclusives/an-interview-the-new-hot-beam-coin-is-live-what-comes-next-3271.htm",
},
];
export enum ExternalLinksIcon {
GITHUB = "github",
TELEGRAM = "telegram",
X = "x",
SUBSTACK = "substack",
REDDIT = "reddit",
DISCORD = "discord",
YOUTUBE = "youtube",
ANCHOR = "anchor",
FORUM = "forum",
BITCOINTALK = "bitcointalk",
MEDIUM = "medium",
QQ = "qq",
COINGECKO = "coingecko",
CMC = "cmc",
}
export default {};