File size: 32,566 Bytes
2a0c16d
 
 
 
 
 
 
 
 
16a094d
2a0c16d
16a094d
2a0c16d
 
 
 
 
 
 
 
 
16a094d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c3689eb
2a0c16d
 
16a094d
2a0c16d
 
 
 
16a094d
2a0c16d
 
 
 
 
c3689eb
2a0c16d
16a094d
2a0c16d
16a094d
 
 
2a0c16d
 
16a094d
2a0c16d
 
 
 
16a094d
2a0c16d
 
 
 
 
 
 
 
 
 
16a094d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2a0c16d
16a094d
 
2a0c16d
 
 
 
16a094d
 
 
 
 
 
 
2a0c16d
 
 
 
c3689eb
16a094d
 
 
 
 
 
 
 
 
c3689eb
16a094d
 
2a0c16d
 
 
 
16a094d
 
 
 
 
 
 
2a0c16d
16a094d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c3689eb
2a0c16d
 
16a094d
2a0c16d
16a094d
 
 
 
 
 
 
 
 
 
 
 
 
2a0c16d
16a094d
2a0c16d
16a094d
 
 
 
 
c3689eb
2a0c16d
 
16a094d
 
 
 
 
 
 
 
c3689eb
16a094d
c3689eb
16a094d
 
 
 
 
2a0c16d
 
 
16a094d
 
 
 
 
 
 
2a0c16d
16a094d
2a0c16d
16a094d
 
 
 
 
c3689eb
2a0c16d
 
16a094d
 
 
 
 
 
 
 
2a0c16d
16a094d
2a0c16d
16a094d
 
 
 
 
c3689eb
2a0c16d
16a094d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2a0c16d
 
 
 
16a094d
 
 
 
 
 
 
 
2a0c16d
16a094d
 
 
 
 
 
2a0c16d
16a094d
 
 
 
 
 
2a0c16d
16a094d
 
 
 
 
 
c3689eb
16a094d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2a0c16d
 
 
 
 
16a094d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2a0c16d
16a094d
2a0c16d
 
 
 
 
 
 
 
 
 
 
 
 
 
16a094d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2a0c16d
 
 
16a094d
2a0c16d
16a094d
2a0c16d
 
16a094d
2a0c16d
 
16a094d
2a0c16d
16a094d
2a0c16d
 
16a094d
 
 
 
 
 
2a0c16d
16a094d
2a0c16d
 
16a094d
2a0c16d
16a094d
2a0c16d
 
16a094d
2a0c16d
 
16a094d
 
2a0c16d
 
16a094d
 
 
2a0c16d
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Wallets | MALiPo</title>
    <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
    <style>
        .wallet-gradient {
            background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
        }
        .wallet-card {
            transition: all 0.3s ease;
        }
        .wallet-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        }
        .wallet-btc { border-left: 4px solid #f59e0b; }
        .wallet-eth { border-left: 4px solid #8b5cf6; }
        .wallet-bnb { border-left: 4px solid #f59e0b; }
        .wallet-sol { border-left: 4px solid #3b82f6; }
        .wallet-matic { border-left: 4px solid #ec4899; }
        .sidebar {
            height: calc(100vh - 4rem);
            position: fixed;
            top: 4rem;
            left: 0;
            width: 250px;
            background-color: #f8fafc;
            border-right: 1px solid #e2e8f0;
            overflow-y: auto;
        }
        .main-content {
            margin-left: 250px;
            padding-top: 4rem;
        }
        .active-link {
            background-color: #dbeafe;
            border-left: 4px solid #3b82f6;
            color: #1d4ed8;
            font-weight: 600;
        }
        .table-row:hover {
            background-color: #f1f5f9;
        }
        .qr-modal {
            display: none;
            position: fixed;
            z-index: 100;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
        }
        .qr-content {
            background-color: white;
            margin: 10% auto;
            padding: 20px;
            border-radius: 8px;
            width: 300px;
            text-align: center;
        }
    </style>
</head>
<body class="font-sans antialiased text-gray-900">
    <!-- Navigation -->
    <nav class="bg-white shadow-sm fixed w-full z-50">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="flex justify-between h-16">
                <div class极速flex items-center">
                    <div class="flex-shrink-0 flex items-center">
                        <i data-feather="zap" class="h-8 w-8 text-indigo-600"></i>
                        <span class="ml-2 text-xl font-bold text-gray-900">MALiPo</span>
                    </div>
                </div>
                <div class="hidden md:ml-6 md:flex md:items-center md:space-x-8">
                    <a href="dashboard.html" class="text-gray-500 hover:text-indigo-600 px-3 py-2 text-sm font-medium">Dashboard</a>
                    <a href="markets.html" class="text-gray-500 hover:text-indigo-600 px-3 py-2 text-sm font-medium">Markets</a>
                    <a href="wallets.html" class="text-indigo-600 px-3 py-2 text-sm font-medium">Wallets</a>
                    <a href="trading.html" class="text-gray-500 hover:text-indigo-600 px-3 py-2 text-sm font-medium">Trading</a>
                    <a href="transactions.html" class="text-gray-500 hover:text-indigo-600 px-3 py-2 text-sm font-medium">History</a>
                    <a href="support.html" class="text-gray-500 hover:text-indigo-600 px-3 py-2 text-sm font极速ium">Support</a>
                </div>
                <div class="flex items-center">
                    <div class="relative ml-3">
                        <div>
                            <button type="button" class="flex items-center text-sm rounded-full focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500" id="user-menu-button">
                                <span class="sr-only">Open user menu</span>
                                <div class="h-8 w-8 rounded-full bg-indigo-100 flex items-center justify-center">
                                    <i data-feather="user极速 class="h-5 w-5 text-indigo-600"></i>
                                </div>
                                <span class="ml-2 text-sm font-medium text-gray-700">John Doe</span>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </nav>

    <!-- Sidebar -->
    <div class="sidebar hidden md:block">
        <div class="p-4">
            <h3 class="text-xs font-semibold text极速-500 uppercase tracking-wider mb-2">Wallet Categories</h3>
            <ul class="space-y-1">
                <li>
                    <a href="#" class="active-link flex items-center px-3 py-2 text-sm rounded-md">
                        <i data-feather="credit-card" class="h-4 w-4 mr-3"></i>
                        All Wallets
                    </a>
                </li>
                <li>
                    <a href="#" class="flex items-center px-3 py-2 text-sm text-gray-700 rounded-md hover:bg-gray-100">
                        <i data-feather="bitcoin" class="h-4 w-4 mr-3"></i>
                        Bitcoin
                    </a>
                </li>
                <li>
                    <a href="#" class="flex items-center px-3 py-2 text-sm text-gray-700 rounded-md hover:bg-gray-极速>
                        <i data-feather="database" class="h-4 w-4 mr-3"></极速>
                        Ethereum
                    </a>
                </li>
                <li>
                    <a href="#" class="flex items-center px-3 py-2 text-sm text-gray-700 rounded-md hover:bg-gray-100">
                        <i data-feather="box" class="h-4 w-4 mr-3"></i>
                        BNB Chain
                    </a>
                </li>
                <li>
                    <a href="#" class="flex items-center px-3 py-2 text-sm text-gray-700 rounded-md hover:bg-gray-100">
                        <i data-feather="activity" class="h-4 w-4 mr-3"></i>
                        Solana
                    </a>
                </li>
                <li>
                    <a href="#" class="flex items-center px-3 py-2 text-sm text-gray-700 rounded-md hover:bg-gray-100">
                        <i data-feather="hexagon" class="h-4 w-4 mr-3"></i>
                        Polygon
                    </a>
                </li>
            </ul>
            
            <h3 class="text-xs font-semibold text-gray-500 uppercase tracking-wider mt-6 mb-2">Wallet Actions</h3>
            <ul class="space-y-1">
                <li>
                    <a href="#" class="flex items-center px-3 py-2 text-sm text-gray-700 rounded-md hover:bg-gray-100">
                        <i data-feather="refresh-cw" class="h-4 w-4 mr-3"></i>
                        Cross-Chain Swap
                    </a>
                </li>
                <li>
                    <a href="transactions.html" class="flex items-center px-3 py-2 text-sm text-gray-700 rounded-md hover:bg-gray-100">
                        <i data-feather="list" class="h-4 w-4 mr-3"></i>
                        Transaction History
                    </a>
                </li>
            </ul>
        </div>
    </div>

    <!-- Main Content -->
    <div class="main-content">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
            <!-- Header -->
            <div class="bg-white rounded-lg shadow-md p-6 mb-8">
                <div class="flex flex-col md:flex-row md:items-center md:justify-between">
                    <div>
                        <h1 class="text-2xl font-bold text-gray-900">Wallet Management</h1>
                        <p class="mt-2 text-gray-600">Manage your multi-chain cryptocurrency wallets</p>
                    </div>
                    <div class="mt-4 md:mt-0">
                        <button class="px-4 py-2 bg-indigo-600 text-white rounded-md hover:bg-indigo-700">
                            <i data-feather="plus" class="h-4 w-4 mr-1"></i> Add Wallet
                        </button>
                    </div>
                </div>
            </div>

            <!-- Portfolio Overview -->
            <div class="grid grid-cols-1 lg:grid-cols-3 gap-8 mb-8">
                <!-- Total Portfolio Value -->
                <div class="wallet-card bg-white p-6 rounded-lg shadow-md lg:col-span-2">
                    <h2 class="text-xl font-semibold text-gray-900 mb-4">Portfolio Overview</h2>
                    <div class="flex items-end justify-between">
                        <div>
                            <p class="text-sm text-gray-600">Total Portfolio Value</p>
                            <p class="text-3xl font-bold text-gray-900">$8,245.67</p>
                            <p class="text-sm text-green-600 mt-1">+2.3% today</p>
                        </div>
                        <div class="w-40 h-40">
                            <canvas id="portfolioChart"></canvas>
                        </div>
                    </div>
                </div>

                <!-- Chain Allocation -->
                <div class="wallet-card bg-white p-6 rounded-lg shadow-md">
                    <h2 class="text-xl font-semibold text-gray-900 mb-4">Chain Allocation</h2>
                    <div class="space-y-3">
                        <div class="flex justify-between items-center">
                            <span class="text-sm text-gray-600">Bitcoin</span>
                            <span class="text-sm font-medium text-gray-900">65.8%</span>
                        </div>
                        <div class="w-full bg-gray-200 rounded-full h-2">
                            <div class="bg-yellow-600 h-2 rounded-full" style="width: 65.8%"></div>
                        </div>
                        
                        <div class="flex justify-between items-center">
                            <span class="text-sm text-gray-600">Ethereum</span>
                            <span class="text-sm font-medium text-gray-900">28.4%</span>
                        </div>
                        <div class="w-full bg-gray-200 rounded-full h-2">
                            <div class="bg-purple-600 h-2 rounded-full" style="width: 28.4%"></div>
                        </div>
                        
                        <div class="flex justify-between items-center">
                            <span class="text-sm text-gray-600">Other Chains</span>
                            <span class="text-sm font-medium text-gray-900">5.8%</span>
                        </极速>
                        <div class="w-full bg-gray-200 rounded-full h-2">
                            <div class="bg-blue-600 h-2 rounded-full" style="width: 5.8%"></div>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Wallet Assets -->
            <div class="bg-white rounded-lg shadow-md p-6 mb-8">
                <h2 class="text-xl font-semibold text-gray-900 mb-6">Your Assets</h2>
                
                <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6">
                    <!-- Bitcoin Wallet -->
                    <div class="wallet-card wallet-btc bg-white p-4 rounded-lg border border-gray-200">
                        <div class="flex items-center justify-between mb-3">
                            <div class="flex items-center">
                                <div class="w-8 h-8 bg-orange-100 rounded-full flex items-center justify-center">
                                    <i data-feather="bitcoin" class="h-4 w-4 text-orange-600"></i>
                                </div>
                                <span class="ml-2 font-semibold">BTC</span>
                            </div>
                            <span class="text-sm text-gray-500">Bitcoin</span>
                        </div>
                        <div class="text-2xl font-bold text-gray-900">0.125</div>
                        <div class="text-sm text-gray-600">≈ $5,432.10</div>
                        <div class="flex space-x-2 mt-4">
                            <button class="deposit-btn flex-1 px-2 py-1 bg-indigo-600 text-white text-xs rounded hover:bg-indigo-700" data-currency="BTC">Deposit</button>
                            <button class="withdraw-btn flex-1 px-2 py-1 border border-gray-300 text-xs rounded hover:bg-gray-50" data-currency="BTC">Withdraw</button>
                        </div>
                    </div>

                    <!-- Ethereum Wallet -->
                    <div class="wallet-card wallet-eth bg-white p-4 rounded-lg border border-gray-200">
                        <div class="flex items-center justify-between mb-3">
                            <div class="flex items-center">
                                <极速 class="w-8 h-8 bg-purple-100 rounded-full flex items-center justify-center">
                                    <i data-feather="database" class="h-4 w-4 text-purple-600"></i>
                                </div>
                                <span class="ml-2 font-semibold">ETH</span>
                            </div>
                            <span class="text-sm text-gray-500">Ethereum</span>
                        </div>
                        <div class="text-2xl font-bold text-gray-900">1.75</div>
                        <div class="text-sm text-gray-600">≈ $2,345.67</div>
                        <div class="flex space-x-2 mt-4">
                            <button class="deposit-btn flex-1 px-2 py-1 bg-indigo-600 text-white text-xs rounded hover:bg-indigo-700" data-currency="ETH">Deposit</button>
                            <button class="withdraw-btn flex-1 px-2 py-1 border border-gray-300 text-xs rounded hover:bg-gray-50" data-currency="ETH">Withdraw</button>
                        </div>
                    </div>

                    <!-- BNB Wallet -->
                    <div class="wallet-card wallet-bnb bg-white p-4 rounded-lg border border-gray-200">
                        <div class="flex items-center justify-between mb-极速                            <div class="flex items-center">
                                <div class="w-8 h-8 bg-yellow-100 rounded-full flex items-center justify-center">
                                    <i data-feather="box" class="极速-4 w-4 text-yellow-600"></i>
                                </div>
                                <span class="ml-2 font-semibold">BNB</span>
                            </div>
                            <span class="text-sm text-gray-500">BNB Chain</span>
                        </div>
                        <div class="text-2xl font-bold text-gray-900">4.25</div>
                        <div class="text-sm text-gray-600">≈ $1,023.50</div>
                        <div class="flex space-x-2 mt-4">
                            <button class="deposit-btn flex-1 px-2 py-1 bg-indigo-600 text-white text-xs rounded hover:bg-indigo-700" data-currency="BNB">Deposit</button>
                            <button class="withdraw-btn flex-1 px-2 py-1 border border-gray-300 text-xs rounded hover:bg-gray-50" data-currency="BNB">极速draw</button>
                        </div>
                    </div>

                    <!-- Solana Wallet -->
                    <div class="wallet-card wallet-sol bg-white p-4 rounded-lg border border-gray-200">
                        <div class="flex items-center justify-between mb-3">
                            <div class="flex items-center">
                                <div class="w-8 h-8 bg-blue-100 rounded-full flex items-center justify-center">
                                    <i data-feather="activity" class="h-4 w-4 text-blue-600"></i>
                                </div>
                                <span class="ml-2 font-semibold">SOL</span>
                            </div>
                            <span class="text-sm text-gray-500">Solana</span>
                        </div>
                        <div class="text-2xl font-bold text极速-900">25.8</div>
                        <div class="text极速m text-gray-600">≈ $467.90</div>
                        <div class="flex space-x-2 mt-4">
                            <button class="deposit-btn flex-1 px-2 py-1 bg-indigo-600 text-white text-xs rounded hover:bg-indigo-700" data-currency="SOL">Deposit</button>
                            <button class="withdraw-btn flex-1 px-2 py-1 border border-gray-300 text-xs rounded hover:bg-gray-50" data-currency="SOL">Withdraw</button>
                        </div>
                    </div>

                    <!-- Polygon Wallet -->
                    <div class="wallet-card wallet-matic bg-white p-4 rounded-lg border border-gray-200">
                        <div class="flex items-center justify-between mb-3">
                            <div class="flex items-center">
                                <div class="w-8 h-8 bg-pink-100 rounded-full flex items-center justify-center">
                                    <i data-feather="hexagon" class="h-4 w-4 text-pink-600"></i>
                                </div>
                                <span class="ml-2 font-semibold">MATIC</span>
                            </div>
                            <span class="text-sm text-gray-500">Polygon</极速                        </div>
                        <div class="text-2xl font-bold text-gray-900">450.5</div>
                        <div class="text-sm text-gray-600">≈ $16.32</div>
                        <div class="flex space-x-2 mt-4">
                            <button class="deposit-btn flex-1 px-2 py-1 bg-indigo-600 text-white text-xs rounded hover:bg-indigo-700" data-currency="MATIC">Deposit</button>
                            <button class="withdraw-btn flex-1 px-2 py-1 border border-gray-300 text-xs rounded hover:bg-gray-50" data-currency="MATIC">Withdraw</button>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Action Buttons -->
            <div class="bg-white rounded-lg shadow-md p-6 mb-8">
                <h2 class="text-xl font-semibold text-gray-900 mb-6">Quick Actions</h2>
                
                <div class="grid grid-cols-1 md:grid-cols-4 gap-4">
                    <button class="flex flex-col items-center justify-center p-4 border border-gray-200 rounded-lg hover:border-indigo-300 hover:bg-indigo-50 transition-colors">
                        <div class="h-10 w-10 rounded-full bg-indigo-100 flex items-center justify-center mb-2">
                            <i data-feather="download" class="h-5 w-5 text-indigo-600"></i>
                        </div>
                        <span class="text-sm font-medium text-gray-900">Deposit</span>
                    </button>
                    
                    <button class="flex flex-col items-center justify-center p-4 border border-gray-200 rounded-lg hover:border-indigo-300 hover:bg-indigo-50 transition-colors">
                        <div class="h-10 w-10 rounded-full bg-indigo-100 flex items-center justify-center mb-2">
                            <i data-feather="upload" class="h-5 w-5 text-indigo-600"></i>
                        </div>
                        <span class="text-sm font-medium text-gray-900">Withdraw</span>
                    </button>
                    
                    <button class="flex flex-col items-center justify-center p极速 border border-gray-200 rounded-lg hover:border-indigo-300 hover:bg-indigo-50 transition-colors">
                        <div class="h-10 w-10 rounded-full bg-indigo-100 flex items-center justify-center mb-2">
                            <i data-feather="send" class="h-5 w-5 text-indigo-600"></i>
                        </div>
                        <span class="text-sm font-medium text-gray-900">Send</span>
                    </button>
                    
                    <button class="flex flex-col items-center justify-center p-4 border border-gray-200 rounded-lg hover:border-indigo-300 hover:bg-indigo-50 transition-colors">
                        <div class="h-10 w-10 rounded-full bg-indigo-100 flex items-center justify-center mb-2">
                            <i data-feather="refresh-cw" class="h-5 w-5 text-indigo-600"></i>
                        </div>
                        <span class="text-sm font-medium text-gray-900">Swap</极速                    </button>
                </div>
            </div>

            <!-- Recent Transactions -->
            <div class="bg-white rounded-lg shadow-md p-6">
                <div class="flex items-center justify-between mb-6">
                    <h2 class="text-xl font-semibold text-gray-900">Recent Transactions</h2>
                    <a href="transactions.html" class="text-sm text-indigo-600 hover:text-indigo-500 font-medium">
                        View All <i data-feather="arrow-right" class="h-4 w-4 inline"></i>
                    </a>
                </div>
                
                <div class="overflow-x-auto">
                    <table class="min-w-full divide-y divide-gray-200">
                        <thead class="bg-gray-50">
                            <tr>
                                <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Date</th>
                                <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Asset</th>
                                <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Type</th>
                                <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Amount</th>
                                <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
                                <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Tx Hash</th>
                            </tr>
                        </thead>
                        <tbody class="bg-white divide-y divide-gray-200">
                            <tr class="table-row">
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">Dec 15, 2023</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">BTC</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">Deposit</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">+0.005</td>
                                <td class="极速-6 py-4 whitespace-nowrap">
                                    <span class="px-2 py-1 text-xs font-semibold rounded-full bg-green-100 text-green-800">Completed</span>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">
                                    <a href="#" class="text-indigo-600 hover:text-indigo-900">0x4a6e...c82f</a>
                                </td>
                            </tr>
                            <tr class="table-row">
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">Dec 14, 2023</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">ETH</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">Withdrawal</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">-0.5</td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <span class="px-2 py-1 text-xs font-semibold rounded-full bg-yellow-100 text-yellow-800">Pending</span>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">
                                    <a href="#" class="text-indigo-600 hover:text-indigo-900">0x8d3a...7b1e</a>
                                </td>
                            </tr>
                            <tr class="table-row">
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">Dec 13, 2023</td>
                                <td class="px-6 py-4 whites极速-nowrap text-sm text-gray-900">SOL</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">Swap</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">ETH→SOL</td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <span class="px-2 py-1 text-xs font-sem极速old rounded-full bg-green-100 text-green-800">Completed</span>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">
                                    <a href="#" class="text-indigo-600 hover:text-indigo-900">0x2f9c...6d4a</a>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>

    <!-- Deposit Modal -->
    <div id="depositModal" class="qr-modal">
        <div class="qr-content">
            <h3 class="text-lg font-semibold text-gray-900 mb-4" id="modalTitle">Deposit Bitcoin</h3>
            <div id="qrCode" class="w-48 h-48 mx-auto mb-4 bg-white p-2">
                <img src="http://static.photos/abstract/240x240/1" alt="QR Code" class="w-full h-full">
            </div>
            <div class="bg-gray-100 p-3 rounded-md mb-4">
                <p class="text-xs text-gray-600 break-all" id="walletAddress">1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa</p>
            </div>
            <button class="px-4 py-2 bg-gray-200 text-gray-700 rounded-md hover:bg-gray-300" onclick="copyAddress()">
                Copy Address
            </button>
            <button class="mt-3 px-4 py-2 bg-indigo-600 text-white rounded-md hover:bg-indigo-700" onclick="closeModal()">
                Close
            </button>
        </div>
    </div>

    <!-- Footer -->
    <footer class="bg-gray-50 mt-12">
        <div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:py-16 lg:px-8">
            <div class="text-center">
                <p class="text-sm text-gray-600">
                    &copy; 2023 MALiPo. All rights reserved. 
                    <a href="#" class="text-indigo-600 hover:text-indigo-500">Privacy Policy</a> • 
                    <a href="#" class="text-indigo-600 hover:text-indigo-500">Terms of Service</a>
                </p>
            </div>
        </div>
    </footer>

    <script>
        feather.replace();
        
        // Initialize portfolio chart
        const portfolioCtx = document.getElementById('portfolioChart').getContext('2d');
        const portfolioChart = new Chart(portfolioCtx, {
            type: 'doughnut',
            data: {
                labels: ['Bitcoin', 'Ethereum', 'BNB', 'Solana', 'Polygon'],
                datasets: [{
                    data: [65.8, 28.4, 3.2, 1.8, 0.8],
                    backgroundColor: [
                        '#f59e0b',
                        '#8b5cf6',
                        '#f59e0b',
                        '#3b82f6',
                        '#ec4899'
                    ],
                    borderWidth: 0
                }]
            },
            options: {
                responsive: true,
                maintainAspectRatio: true,
                plugins: {
                    legend: {
                        display: false
                    }
                },
                cutout: '70%'
            }
        });

        // Deposit button functionality
        document.querySelectorAll('.deposit-btn').forEach(button => {
            button.addEventListener('click', function() {
                const currency = this.getAttribute('data-currency');
                openDepositModal(currency);
            });
        });

        // Withdraw button functionality
        document.querySelectorAll('.withdraw-btn').forEach(button => {
            button.addEventListener('click', function() {
                const currency = this.getAttribute('data-currency');
                alert(`Withdraw ${currency} functionality would open here`);
            });
        });

        // Modal functions
        function openDepositModal(currency) {
            const modal = document.getElementById('depositModal');
            const title = document.getElementById('modalTitle');
            const address = document.getElementById('walletAddress');
            
            // Set modal content based on currency
            title.textContent = `Deposit ${currency}`;
            
            // Generate a sample address based on currency
            const addresses = {
                'BTC': '1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa',
                'ETH': '0x742d35Cc6634C0532925a3b844Bc454e4438f44e',
                'BNB': 'bnb1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjfq4ar',
                'SOL': 'HN7cABqLq46Es1jh92dQQisAq662SmxELLLsHHe4YWrH',
                'MATIC': '0x3E6e4D5A4B6B6e5e7C8D9F0A1B2C3D4E5F6G7H8'
            };
            
            address.textContent = addresses[currency] || 'Address not available';
            modal.style.display = 'block';
        }

        function closeModal() {
            document.getElementById('depositModal').style.display = 'none';
        }

        function copyAddress() {
            const address = document.getElementById('walletAddress').textContent;
            navigator.clipboard.writeText(address).then(() => {
                alert('Address copied to clipboard!');
            });
        }

        // Close modal if clicked outside
        window.onclick = function(event) {
            const modal = document.getElementById('depositModal');
            if (event.target == modal) {
                closeModal();
            }
        };

        // Simulate live balance updates
        function updateBalances() {
            const prices = {
                btc: 43250 + (Math.random() - 0.5) * 200,
                eth: 2345 + (Math.random() - 0.5) * 20,
                bnb: 240 + (Math.random() - 0.5) * 5,
                sol: 98 + (Math.random() - 0.5) * 2,
                matic: 0.87 + (Math.random() - 0.5) * 0.02
            };

            // Update BTC balance display
            const btcAmount = 0.125;
            const btcValue = btcAmount * prices.btc;
            document.querySelector('.wallet-btc .text-2xl').nextElementSibling.textContent = `≈ $${btcValue.toFixed(2)}`;

            // Update ETH balance display
            const ethAmount = 1.75;
            const ethValue = ethAmount * prices.eth;
            document.querySelector('.wallet-eth .text-2xl').nextElementSibling.textContent = `≈ $${ethValue.toFixed(2)}`;

            // Update BNB balance display
            const bnbAmount = 4.25;
            const bnbValue = bnbAmount * prices.bnb;
            document.querySelector('.wallet-bnb .text-2xl').nextElementSibling.textContent = `≈ $${bnbValue.toFixed(2)}`;

            // Update SOL balance display
            const solAmount = 25.8;
            const solValue = solAmount * prices.sol;
            document.querySelector('.wallet-sol .text-2xl').nextElementSibling.textContent = `≈ $${solValue.toFixed(2)}`;

            // Update MATIC balance display
            const maticAmount = 450.5;
            const maticValue = maticAmount * prices.matic;
            document.querySelector('.wallet-matic .text-2xl').nextElementSibling.textContent = `≈ $${maticValue.toFixed(2)}`;

            // Update total portfolio value
            const totalValue = btcValue + ethValue + bnbValue + solValue + maticValue;
            document.querySelector('.text-3xl.font-bold.text-gray-900').textContent = `$${totalValue.toFixed(2)}`;
        }

        // Update balances every 15 seconds
        setInterval(updateBalances, 15000);
        updateBalances(); // Initial update
    </script>
</body>
</html>