-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
613 lines (551 loc) · 26.7 KB
/
index.html
File metadata and controls
613 lines (551 loc) · 26.7 KB
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
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ZipherPunk - Zclassic Privacy Advocacy & ZipherX Wallets</title>
<meta name="description" content="ZipherPunk is the cypherpunk hub for Zclassic (ZCL). Download ZipherX privacy wallets for macOS, iOS, Android, Linux & Windows. Shielded-only zk-SNARK transactions. Built by VicThor2013.">
<meta name="keywords" content="ZipherPunk, Zclassic, ZCL, ZipherX, privacy wallet, cryptocurrency, zk-SNARKs, shielded transactions, cypherpunk, Tor, zero-knowledge proof, crypto wallet, decentralized, open source">
<meta name="author" content="VicThor2013">
<meta name="robots" content="index, follow">
<link rel="canonical" href="https://zipherpunk.com/">
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<!-- Open Graph -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://zipherpunk.com/">
<meta property="og:title" content="ZipherPunk - Zclassic Privacy Advocacy & ZipherX Wallets">
<meta property="og:description" content="Cypherpunk hub for Zclassic (ZCL). Download ZipherX shielded-only wallets. zk-SNARK privacy. No trusted servers. Built by VicThor2013.">
<meta property="og:image" content="https://zipherpunk.com/og-home.png">
<meta property="og:site_name" content="ZipherPunk">
<!-- Twitter/X Card -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@VicThor2013">
<meta name="twitter:creator" content="@VicThor2013">
<meta name="twitter:title" content="ZipherPunk - Zclassic Privacy Advocacy & ZipherX Wallets">
<meta name="twitter:description" content="Cypherpunk hub for Zclassic (ZCL). Download ZipherX shielded-only wallets. zk-SNARK privacy. No trusted servers. Built by VicThor2013.">
<meta name="twitter:image" content="https://zipherpunk.com/og-home.png">
<!-- Structured Data -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@graph": [
{
"@type": "Organization",
"@id": "https://zipherpunk.com/#org",
"name": "ZipherPunk",
"url": "https://zipherpunk.com",
"logo": "https://zipherpunk.com/Zipherpunk_logo.png",
"description": "Cypherpunk privacy advocacy and wallet development for Zclassic (ZCL)",
"founder": {
"@type": "Person",
"name": "VicThor2013",
"url": "https://x.com/VicThor2013",
"sameAs": [
"https://x.com/VicThor2013",
"https://github.com/VictorLux"
]
},
"sameAs": [
"https://github.com/ZipherPunk",
"https://x.com/VicThor2013"
]
},
{
"@type": "WebSite",
"@id": "https://zipherpunk.com/#website",
"name": "ZipherPunk",
"url": "https://zipherpunk.com",
"publisher": { "@id": "https://zipherpunk.com/#org" },
"description": "Privacy advocacy, cryptographic research, and wallet development for Zclassic (ZCL)"
},
{
"@type": "SoftwareApplication",
"name": "ZipherX",
"applicationCategory": "FinanceApplication",
"operatingSystem": "macOS, iOS, Android, Linux, Windows",
"description": "Shielded-only Zclassic (ZCL) wallet with embedded Tor, zk-SNARK proofs, and Secure Enclave key protection. No trusted servers.",
"url": "https://zipherpunk.com/ZipherX.html",
"downloadUrl": "https://github.com/ZipherPunk/ZipherX/releases/latest",
"softwareVersion": "v2.1.62",
"author": {
"@type": "Person",
"name": "VicThor2013"
},
"license": "https://opensource.org/licenses/MIT",
"offers": {
"@type": "Offer",
"price": "0",
"priceCurrency": "USD"
}
}
]
}
</script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Chicago&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: #808080;
font-family: 'Chicago', 'Geneva', 'Monaco', monospace;
min-height: 100vh;
padding: 20px;
}
.window {
background: #ffffff;
border: 2px solid #000;
box-shadow: 2px 2px 0 #000;
max-width: 900px;
margin: 0 auto;
}
.title-bar {
background: linear-gradient(to right, #000 0%, #000 100%);
background: repeating-linear-gradient(
90deg,
#000 0px,
#000 1px,
#fff 1px,
#fff 3px
);
padding: 4px 8px;
display: flex;
align-items: center;
border-bottom: 2px solid #000;
}
.close-box {
width: 12px;
height: 12px;
border: 1px solid #000;
background: #fff;
margin-right: 8px;
}
.title {
background: #fff;
padding: 2px 8px;
font-size: 12px;
font-weight: bold;
}
.content {
padding: 20px;
background: #fff;
}
.menu-bar {
background: #fff;
border-bottom: 1px solid #000;
padding: 4px 8px;
font-size: 12px;
}
.menu-bar span {
margin-right: 16px;
cursor: pointer;
}
h1 {
font-size: 24px;
text-align: center;
margin-bottom: 20px;
text-decoration: underline;
}
h2 {
font-size: 16px;
margin: 16px 0 8px 0;
border-bottom: 1px dotted #000;
padding-bottom: 4px;
}
h3 {
font-size: 14px;
margin: 12px 0 6px 0;
}
p {
font-size: 12px;
line-height: 1.6;
margin-bottom: 8px;
}
.manifesto {
border: 2px inset #808080;
padding: 12px;
margin: 16px 0;
background: #f0f0f0;
}
.manifesto p {
font-style: italic;
text-align: center;
}
.stats-box {
border: 2px groove #808080;
padding: 12px;
margin: 16px 0;
background: #e8e8e8;
}
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 12px;
}
.stat-item {
text-align: center;
padding: 8px;
border: 1px solid #000;
background: #fff;
}
.stat-label {
font-size: 10px;
text-transform: uppercase;
}
.stat-value {
font-size: 16px;
font-weight: bold;
margin-top: 4px;
}
.wallet-section {
border: 2px solid #000;
margin: 16px 0;
padding: 12px;
}
.wallet-header {
background: #000;
color: #fff;
padding: 4px 8px;
margin: -12px -12px 12px -12px;
font-size: 14px;
}
.feature-list {
list-style: none;
padding-left: 0;
}
.feature-list li {
font-size: 11px;
padding: 4px 0;
padding-left: 16px;
position: relative;
}
.feature-list li:before {
content: "◆";
position: absolute;
left: 0;
}
.button {
display: inline-block;
background: #fff;
border: 2px outset #808080;
padding: 6px 16px;
font-size: 12px;
cursor: pointer;
text-decoration: none;
color: #000;
margin: 4px;
}
.button:active {
border-style: inset;
}
.footer {
text-align: center;
margin-top: 20px;
padding-top: 12px;
border-top: 1px solid #000;
font-size: 10px;
}
.icon {
font-size: 24px;
margin-bottom: 8px;
}
.principles {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 12px;
margin: 16px 0;
}
.principle {
text-align: center;
padding: 12px;
border: 1px solid #000;
}
.loading {
animation: blink 1s infinite;
}
@keyframes blink {
50% { opacity: 0.5; }
}
.scroll-box {
border: 2px inset #808080;
padding: 8px;
max-height: 200px;
overflow-y: auto;
background: #fff;
}
.download-section {
text-align: center;
margin: 20px 0;
}
@media (max-width: 600px) {
.principles {
grid-template-columns: 1fr;
}
.stats-grid {
grid-template-columns: 1fr 1fr;
}
}
</style>
</head>
<body>
<div class="window">
<div class="title-bar">
<div class="close-box"></div>
<span class="title">ZipherPunk.com - Privacy is Not a Crime</span>
</div>
<div class="menu-bar">
<span>File</span>
<span>Edit</span>
<span>View</span>
<span>Special</span>
</div>
<div class="content">
<div style="text-align: center; margin-bottom: 20px;">
<picture>
<source srcset="Zipherpunk_logo.webp" type="image/webp">
<img src="Zipherpunk_logo_512.png" alt="ZipherPunk - Cypherpunk Privacy Advocacy for Zclassic (ZCL)" style="max-width: 300px; width: 100%; height: auto;">
</picture>
</div>
<h1>⌘ ZIPHERPUNK ⌘</h1>
<div class="manifesto">
<p>"Privacy is necessary for an open society in the electronic age."</p>
<p>— Cypherpunk Manifesto, 1993</p>
</div>
<div class="principles">
<div class="principle">
<div class="icon">🔒</div>
<h3>PRIVACY</h3>
<p style="font-size: 10px;">Your transactions. Your business.</p>
</div>
<div class="principle">
<div class="icon">⚡</div>
<h3>FREEDOM</h3>
<p style="font-size: 10px;">No permission needed. No borders.</p>
</div>
<div class="principle">
<div class="icon">🌐</div>
<h3>DECENTRALIZATION</h3>
<p style="font-size: 10px;">No single point of failure.</p>
</div>
</div>
<h2>▸ Zclassic Network Stats</h2>
<div class="stats-box">
<div class="stats-grid">
<div class="stat-item">
<div class="stat-label">Block Height</div>
<div class="stat-value loading" id="block-height">loading</div>
</div>
<div class="stat-item">
<div class="stat-label">ZCL Price</div>
<div class="stat-value loading" id="zcl-price">loading</div>
</div>
<div class="stat-item">
<div class="stat-label">Version</div>
<div class="stat-value" id="version">v2.1.62</div>
</div>
<div class="stat-item">
<div class="stat-label">Circulating</div>
<div class="stat-value loading" id="circulating" style="font-size: 12px;">loading</div>
</div>
</div>
</div>
<h2>▸ ZIPHERX - macOS Full Node Wallet</h2>
<div class="wallet-section">
<div class="wallet-header">◈ Desktop Sovereignty</div>
<p>Embedded full node. Local proof verification. Zero trusted servers.</p>
<ul class="feature-list">
<li><strong>Embedded Full Node:</strong> Bundled zclassicd - complete blockchain verification</li>
<li><strong>Shielded Only:</strong> z-address transactions only - maximum privacy</li>
<li><strong>Sapling Proofs:</strong> zk-SNARK generation on-device (~30 seconds)</li>
<li><strong>Multi-Peer Consensus:</strong> 8+ peers, 5/8 Byzantine fault tolerance</li>
<li><strong>Tor Privacy:</strong> Embedded Arti router with hidden service support</li>
<li><strong>Equihash Verification:</strong> Full proof-of-work block validation</li>
<li><strong>512-byte Memos:</strong> Encrypted messages in every transaction</li>
<li><strong>BIP-39 Recovery:</strong> 24-word seed phrase backup</li>
<li><strong>Open Source:</strong> MIT License - audit the code yourself</li>
</ul>
<p style="font-size: 10px; margin-top: 12px; font-style: italic;">
"Privacy is not about something to hide. Privacy is about something to protect." — Your keys, your coins, your rules.
</p>
<div class="download-section">
<a href="https://github.com/ZipherPunk/ZipherX/releases/latest" class="button download-btn" target="_blank">⬇ Download ZipherX Mac</a>
<a href="https://github.com/ZipherPunk/ZipherX" class="button" target="_blank">◆ Source Code</a>
</div>
</div>
<h2>▸ ZIPHERX - iOS Wallet (Experimental)</h2>
<div class="wallet-section">
<div class="wallet-header">◈ Privacy On The Go</div>
<p><strong>WARNING:</strong> Experimental software. Educational purposes only.</p>
<p>Your keys in Secure Enclave. Your proofs generated locally. Zero trust.</p>
<ul class="feature-list">
<li><strong>Shielded Only:</strong> z-address transactions only - no transparent leaks</li>
<li><strong>Secure Enclave:</strong> Hardware-backed key protection (iPhone 8+)</li>
<li><strong>Local Proof Generation:</strong> Sapling zk-SNARKs on-device (~30s)</li>
<li><strong>Multi-Peer Consensus:</strong> 8+ peers with 5/8 Byzantine tolerance</li>
<li><strong>Embedded Tor:</strong> Arti router with .onion hidden service</li>
<li><strong>Parallel Decryption:</strong> 6.7x faster note scanning via Rayon</li>
<li><strong>Biometric Auth:</strong> Face ID/Touch ID with auto-lock timeout</li>
<li><strong>Pre-indexed Tree:</strong> ~1M commitment tree for instant balance</li>
<li><strong>BIP-39 Recovery:</strong> 24-word seed phrase backup</li>
<li><strong>Cypherpunk Chat:</strong> P2P encrypted messaging over Tor with in-chat payments</li>
<li><strong>Retro UI:</strong> System 7 theme meets modern crypto</li>
</ul>
<p style="font-size: 10px; margin-top: 12px; font-style: italic;">
"Don't trust, verify." - Local proofs. Multi-peer consensus. Zero trusted servers.
</p>
<div class="download-section">
<a href="https://testflight.apple.com/join/ZCzZRdaZ" class="button download-btn" target="_blank">⬇ Join iOS Beta (TestFlight)</a>
<a href="https://github.com/ZipherPunk/ZipherX" class="button" target="_blank">◆ Source Code</a>
<a href="ZipherX.html" class="button" target="_blank">Learn More</a>
</div>
</div>
<h2>▸ ZIPHERX MULTI - Cross-Platform Wallet</h2>
<div class="wallet-section">
<div class="wallet-header">◈ Privacy Everywhere — Android, macOS, Linux, Windows</div>
<div style="border: 2px inset #808080; padding: 8px; margin-bottom: 12px; background: #fff8e0;">
<p style="font-size: 11px; font-weight: bold; color: #8b6914;">⚠ BETA VERSION — LIMITED TESTING</p>
<p style="font-size: 10px; line-height: 1.5; color: #666;">This is beta software with limited real-world testing. Use at your own risk. Always back up your private key / mnemonic phrase. Not recommended for large amounts. Report bugs on <a href="https://github.com/ZipherPunk/zipherx_multi/issues" target="_blank">GitHub</a>.</p>
</div>
<p>Native multi-platform Zclassic wallet. Rust core with platform-native UI. No trusted servers.</p>
<ul class="feature-list">
<li><strong>Sapling Shielded:</strong> z-address only — full zk-SNARK privacy on every platform</li>
<li><strong>Native Desktop (egui):</strong> Single binary, no JVM — direct Rust performance</li>
<li><strong>Android:</strong> Material 3 UI with Jetpack Compose, biometric auth</li>
<li><strong>Autonomous Sync:</strong> Background sync keeps wallet up-to-date automatically</li>
<li><strong>Full Node Mode:</strong> Connect to your own zclassicd (desktop only)</li>
<li><strong>Tor Privacy:</strong> Optional Tor routing for network-level anonymity</li>
<li><strong>Secure Storage:</strong> Argon2id + AES-256-GCM encrypted wallet data</li>
<li><strong>BIP-39 Recovery:</strong> 24-word seed phrase backup</li>
<li><strong>Open Source:</strong> MIT License — audit the code yourself</li>
</ul>
<p style="font-size: 10px; margin-top: 12px; font-style: italic;">
"Your keys, your coins, your platform." — Privacy should not depend on what device you use.
</p>
<div class="download-section">
<a href="https://github.com/ZipherPunk/zipherx_multi/releases/latest/download/zipherx-gui-macos-arm64" class="button download-btn" target="_blank">⬇ macOS (Apple Silicon)</a>
<a href="https://github.com/ZipherPunk/zipherx_multi/releases/latest/download/ZipherX-0.1.0-release.apk" class="button download-btn" target="_blank">⬇ Android APK</a>
<a href="https://github.com/ZipherPunk/zipherx_multi/releases/latest/download/zipherx-cli-windows-x86_64.exe" class="button download-btn" target="_blank">⬇ Windows CLI</a>
</div>
<div class="download-section" style="margin-top: 4px;">
<a href="https://github.com/ZipherPunk/zipherx_multi" class="button" target="_blank">◆ Source Code</a>
<a href="https://github.com/ZipherPunk/zipherx_multi/releases/latest" class="button" target="_blank">◆ All Releases</a>
</div>
<div style="border-top: 1px dotted #999; margin-top: 12px; padding-top: 8px;">
<p style="font-size: 10px;"><strong>Linux / Windows Desktop:</strong> Build from source — requires Rust 1.75+</p>
<p style="font-size: 10px; font-family: monospace; background: #f0f0f0; padding: 4px 8px; margin: 4px 0;">git clone https://github.com/ZipherPunk/zipherx_multi.git && cd zipherx_multi && cargo build --release -p zipherx-gui</p>
<p style="font-size: 9px; color: #666;">Linux deps: <span style="font-family: monospace;">apt install build-essential pkg-config libssl-dev libfontconfig1-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev</span></p>
</div>
</div>
<h2>▸ Research & Analysis</h2>
<div class="wallet-section">
<div class="wallet-header">◈ Cryptographic Research</div>
<p>In-depth technical analysis of Zclassic's cryptographic primitives, threat models, and upgrade paths.</p>
<ul class="feature-list">
<li><strong>Quantum Threat Analysis:</strong> Full audit of every cryptographic primitive across all protocol layers — transparent, Sapling, Sprout, PoW, and network — against Shor's and Grover's algorithms. Includes severity ranking, post-quantum replacement map, and strategic migration roadmap.</li>
</ul>
<div class="download-section">
<a href="zclassic-quantum-analysis.html" class="button">Read: ZCL Quantum Threat Matrix</a>
</div>
</div>
<h2>▸ Why Zclassic?</h2>
<div class="scroll-box">
<p><strong>No Founder's Reward.</strong> 100% of block rewards go to miners. No dev tax. No corporate interests.</p>
<p><strong>True Privacy.</strong> zk-SNARKs zero-knowledge proofs. Shielded transactions hide sender, receiver, and amount.</p>
<p><strong>Decentralized.</strong> No company. No foundation. Community-driven development.</p>
<p><strong>Battle-tested.</strong> Based on Zcash protocol. Years of cryptographic research.</p>
<p><strong>Censorship Resistant.</strong> No one can stop your transaction. No one can freeze your funds.</p>
</div>
<div style="border: 2px inset #808080; padding: 10px; margin: 16px 0; background: #f8f0f0;">
<p style="font-size: 10px; font-weight: bold; margin-bottom: 4px;">DISCLAIMER</p>
<p style="font-size: 9px; line-height: 1.5;">All content on this site is provided <strong>strictly for educational and informational purposes only</strong>. Nothing constitutes financial, investment, or security advice. Technical analyses are AI-assisted, <strong>may contain errors, inaccuracies, or outdated information</strong>, and have not been formally peer-reviewed or audited. This is not a professional security audit. The authors accept no responsibility or liability for any loss or damage arising from the use of this information. Cryptocurrency is inherently risky and may lose all value. Always do your own research (DYOR). Licensed under <a href="https://github.com/ZipherPunk/zipherpunk/blob/master/LICENSE">MIT License</a>.</p>
</div>
<div class="footer">
<p>ZipherPunk.com — Supporting Privacy Since Day One</p>
<p>Zclassic (ZCL) • DYOR • Not Financial Advice</p>
<p style="margin-top: 8px;">
[ <a href="https://x.com/VicThor2013" target="_blank">@VicThor2013</a> |
<a href="https://x.com/ZipherPunk" target="_blank">@ZipherPunk</a> |
<a href="https://github.com/ZipherPunk" target="_blank">GitHub</a> |
<a href="https://zclassic.org" target="_blank">zclassic.org</a> |
<a href="https://github.com/ZipherPunk/zipherpunk" target="_blank">Source</a> ]
</p>
</div>
</div>
</div>
<script>
// Retry state
let supplyLoaded = false;
let priceLoaded = false;
let blockHeightLoaded = false;
let retryCount = 0;
// Fetch block height from Zelcore explorer
async function fetchBlockHeight() {
try {
const response = await fetch('https://explorer.zcl.zelcore.io/api/sync');
const data = await response.json();
if (data.height) {
document.getElementById('block-height').textContent = data.height.toLocaleString();
document.getElementById('block-height').classList.remove('loading');
blockHeightLoaded = true;
}
} catch (error) {
console.error('Error fetching block height:', error);
}
}
// Fetch price and supply from CoinGecko
async function fetchStats() {
try {
const response = await fetch('https://api.coingecko.com/api/v3/coins/zclassic?localization=false&tickers=false&community_data=false&developer_data=false');
const data = await response.json();
// Update price
if (data.market_data && data.market_data.current_price && data.market_data.current_price.usd) {
document.getElementById('zcl-price').textContent = '$' + data.market_data.current_price.usd.toFixed(4);
document.getElementById('zcl-price').classList.remove('loading');
priceLoaded = true;
}
// Update circulating supply
if (data.market_data && data.market_data.circulating_supply) {
const circulating = Math.floor(data.market_data.circulating_supply).toLocaleString();
document.getElementById('circulating').textContent = circulating + ' ZCL';
document.getElementById('circulating').classList.remove('loading');
supplyLoaded = true;
}
} catch (error) {
console.error('Error fetching data from CoinGecko:', error);
}
}
// Retry logic with progressive delays
async function retryFetch() {
await Promise.all([fetchStats(), fetchBlockHeight()]);
if (supplyLoaded && priceLoaded && blockHeightLoaded) {
// Success - switch to 10 minute refresh
setInterval(() => {
fetchStats();
fetchBlockHeight();
}, 600000);
return;
}
retryCount++;
let delay;
if (retryCount <= 10) {
// First 10 retries: every 5 seconds
delay = 5000;
} else if (retryCount <= 20) {
// Next 10 retries: every 30 seconds
delay = 30000;
} else {
// After that: every minute
delay = 60000;
}
setTimeout(retryFetch, delay);
}
// Load stats on page load
document.addEventListener('DOMContentLoaded', retryFetch);
</script>
</body>
</html>