forked from PIVX-Labs/MyPIVXWallet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.template.html
1204 lines (1092 loc) · 81.3 KB
/
index.template.html
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
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=9" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<!-- Primary Meta Tags -->
<title>My PIVX Wallet</title>
<meta name="title" content="My PIVX Wallet" />
<meta name="description" content="The wallet of the future - Receive, Send, Stake and Exchange using a completely decentralized, open-source, battle-hardened PIVX wallet." />
<meta name="keywords" content="web,wallet,webwallet,crypto,cryptocurrency,opensource,oss,pivx,staking,masternodes,exchange,swap,decentralized" />
<link rel="manifest" href="manifest.json"/>
<meta name="mobile-web-app-capable" content="yes" />
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:locale" content="en_GB" />
<meta property="og:url" content="https://mypivxwallet.org/" />
<meta property="og:title" content="My PIVX Wallet" />
<meta property="og:description" content="The wallet of the future - Receive, Send, Stake and Exchange using a completely decentralized, open-source, battle-hardened PIVX wallet." />
<meta property="og:image" content="/logo_opaque-dark-bg.png" />
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://mypivxwallet.org/" />
<meta property="twitter:title" content="My PIVX Wallet" />
<meta property="twitter:description" content="The wallet of the future - Receive, Send, Stake and Exchange using a completely decentralized, open-source, battle-hardened PIVX wallet." />
<meta property="twitter:image" content="/logo_opaque-dark-bg.png" />
<!-- Colour Theme -->
<meta name="msapplication-TileColor" content="#470e75" />
<meta name="theme-color" content="#470e75" />
<link rel="icon" type="image/png" href="/logo_opaque-dark-bg.png" />
<link rel="canonical" href="https://mypivxwallet.org/" />
</head>
<body>
<div id="page-container" class="home-hero">
<div id="content-wrap">
<!-- NAVBAR -->
<nav class="navbar navbar-expand-lg sticky-top navbar-dark navbarSpecial">
<div class="container">
<img onclick="MPW.openTab(event, 'keypair')" style="cursor: pointer;" class="nav-logo navbar-brand noselect" alt="PIVX" id="mpw-main-logo" />
<button id="navbarToggler" class="navbar-toggler collapsed" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse noselect" id="navbarNav">
<!-- MAIN NAVBAR -->
<ul class="navbar-nav mr-auto">
<li class="nav-item"><span id="dashboard" class="nav-link tablinks" onclick="MPW.openTab(event, 'keypair')" data-i18n="navDashboard">Dashboard</span></li>
<li class="nav-item"><span id="stakeTab" class="nav-link tablinks" onclick="MPW.openTab(event, 'StakingTab')" data-i18n="navStake">Stake</span></li>
<li class="nav-item"><span id="masternodeTab" class="nav-link tablinks" onclick="MPW.openTab(event, 'Masternode')" data-i18n="navMasternode">Masternode</span></li>
<li class="nav-item"><span id="governanceTab" class="nav-link tablinks" onclick="MPW.openTab(event, 'Governance')" data-i18n="navGovernance">Governance</span></li>
<li class="nav-item"><span class="nav-link tablinks" onclick="MPW.openTab(event, 'Settings');" data-i18n="navSettings">Settings</span></li>
</ul>
<!-- SIDE NAVBAR -->
<div class="form-inline my-2 my-lg-0">
<ul class="navbar-nav mr-auto small-dark-bg">
<li class="nav-item">
<span class="nav-link ptr" style="display: none;" id="Debug" onclick="MPW.toggleDebug()" data-toggle="tooltip" data-html="true" data-placement="bottom" title="<b>Debug Mode</b><br>You're in debug mode, which is logging additional verbose data in the console"><i class="fa-solid fa-bug"></i></span>
</li>
<li class="nav-item">
<span class="nav-link ptr" style="display: none;" id="Testnet" onclick="MPW.toggleTestnet()" data-toggle="tooltip" data-html="true" data-placement="bottom" title="<b>Testnet Mode</b><br>You're currently using MPW on the Testnet Network"><i class="fa-solid fa-network-wired"></i></span>
</li>
<li class="nav-item">
<span class="nav-link ptr" id="Network" onclick="MPW.toggleNetwork()" data-toggle="tooltip" data-html="true" data-placement="bottom" title="<b>Internet Access</b><br>Whether or not your node is connected to the internet"><i class="fa-solid fa-wifi"></i></span>
</li>
</ul>
</div>
</div>
</div>
</nav>
<!-- // NAVBAR -->
<!-- // QR MODAL -->
<div class="modal fade" id="qrModal" tabindex="-1" role="dialog" aria-labelledby="qrModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content exportKeysModalColor">
<div class="modal-header">
<h5 class="modal-title" id="qrModalLabel">Address QR</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<i class="fa-solid fa-xmark closeCross"></i>
</button>
</div>
<div class="modal-body center-text">
<code id="ModalQRLabel" class="wallet-code"></code>
<div id="ModalQR" style="padding: 17px 10px 10px 10px;" class="auto-fit"></div>
</div>
</div>
</div>
</div>
<!-- // QR Reader -->
<div class="modal fade" id="qrReaderModal" tabindex="-1" role="dialog" aria-labelledby="qrReaderModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content exportKeysModalColor">
<div class="modal-header">
<h5 class="modal-title" id="qrReaderModalLabel">QR Scanner</h5>
<button id="closeQrReader" type="button" class="close" aria-label="Close">
<i class="fa-solid fa-xmark closeCross"></i>
</button>
</div>
<div class="modal-body center-text">
<video id="qrReaderStream"></video>
</div>
</div>
</div>
</div>
<!-- // Wallet Breakdown -->
<div class="modal fade" id="walletBreakdownModal" tabindex="-1" aria-labelledby="walletBreakdownModalLabel" role="dialog" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content exportKeysModalColor">
<div class="modal-header">
<h5 class="modal-title" id="walletBreakdownModalLabel">Wallet Breakdown</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<i class="fa-solid fa-xmark closeCross"></i>
</button>
</div>
<div class="modal-body center-text">
<canvas id="walletBreakdownCanvas"></canvas>
</div>
</div>
</div>
</div>
<br />
<!-- // MNEMONIC MODAL -->
<div class="modal fade" id="mnemonicModal" tabindex="-1" role="dialog" aria-labelledby="qrModalLabel" aria-hidden="true" data-backdrop="static" data-keyboard="false">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-body center-text">
<p id="ModalMnemonicLabel" class="modal-label"></p>
<div id="ModalMnemonic" class="auto-fit">
This is your seed phrase:
<b>
<div class="seed-phrase noselect" id="ModalMnemonicContent">
</div>
</b>
<br />
Write it down somewhere. You'll only see this <b>once!</b>
<br />
Anyone with a copy of it can access <b>all</b> of your funds.
<br />
<b>Do NOT share it with anybody</b>. <br />
<br />
<a href="https://www.ledger.com/blog/how-to-protect-your-seed-phrase" target="_blank" rel="noopener noreferrer">
<i>It is <b>NOT</b> advised to store this digitally.</i>
</a>
<br />
<br />
<input class="center-text" type="password" id="ModalMnemonicPassphrase" placeholder="Optional Passphrase" />
<br />
</div>
<div class="modal-footer">
<button type="button" id="modalMnemonicConfirmButton" class="pivx-button-big">I have written down my seed phrase</button>
</div>
</div>
</div>
</div>
</div>
<br />
<!-- // CONFIRM MODAL -->
<div class="modal" id="confirmModal" tabindex="-1" style="z-index: 2000; background-color: #00000063;" role="dialog" aria-hidden="true" data-backdrop="static" data-keyboard="false">
<div class="modal-dialog modal-dialog-centered max-w-600" role="document">
<div class="modal-content">
<div class="modal-header" id="confirmModalHeader">
<h3 class="modal-title" id="confirmModalTitle" style="text-align: center; width: 100%; color: #8e21ff;"></h3>
</div>
<div id="confirmModalContent" class="modal-body center-text">
<!-- JS populated modal content -->
</div>
<div class="modal-footer" hidden="true" id="confirmModalButtons">
<button type="button" id="confirmModalConfirmButton" class="pivx-button-big" style="float: right;">Confirm</button>
<button type="button" id="confirmModalCancelButton" class="pivx-button-big" style="float: right; opacity: 0.7;">Cancel</button>
</div>
</div>
</div>
</div>
<div class="container">
<div class="row no-gutters">
<div class="col-md-12 rm-pd">
<div class="tabcontent" style="display: block;">
<!-- PIVX TITLE SECTION -->
<div class="col-md-12 title-section float-left rm-pd">
<h1 class="pivx-bold-title center-text">
<span data-i18n="loadingTitle">My PIVX Wallet is</span>
<div data-i18n="loading">Loading</div>
</h1>
</div>
<!-- // PIVX TITLE SECTION -->
</div>
<!-- KEYPAIR SECTION -->
<div id="keypair" class="tabcontent">
<div class="row m-0">
<!-- GENERATE WALLET -->
<div class="col-12 col-lg-6 p-2" id="generateWallet">
<div class="h-100 dashboard-item dashboard-display">
<div class="coinstat-icon">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50">
<path
d="M15.059 43.898h-3.196a.827.827 0 000 1.653h3.196a.826.826 0 100-1.653zM38.851 8.781a.826.826 0 00-1.42.577v4.015H13.847a.827.827 0 100 1.654h24.411c.457 0 .826-.37.826-.827v-2.805l5.548 5.707-5.548 5.389V19.27a.826.826 0 00-.826-.826H15.5a.826.826 0 000 1.653h9.419v3.881a.826.826 0 101.653 0v-3.881h10.859v4.35a.828.828 0 001.402.594l7.545-7.328a.826.826 0 00.016-1.169l-7.543-7.763zM9.99 13.372a.827.827 0 100 1.654h.661a.827.827 0 000-1.654H9.99zm38.792 12.895h-.771a.826.826 0 100 1.653h.771a.827.827 0 000-1.653z"
></path>
<path
d="M45.035 26.267H20.68V21.89a.827.827 0 00-1.403-.593l-7.543 7.327a.827.827 0 00-.016 1.169l7.543 7.76a.824.824 0 00.904.19.829.829 0 00.516-.767v-3.988h4.239v6.943H1.988V7.641h22.931v3.941a.826.826 0 001.653 0v-6.01A4.667 4.667 0 0021.91.91H4.997A4.667 4.667 0 00.335 5.572v34.803a.81.81 0 00-.099.383c0 .14.038.27.099.384v3.445a4.668 4.668 0 004.662 4.663h16.912a4.668 4.668 0 004.662-4.663V32.988h14.276a.826.826 0 100-1.653H19.853a.827.827 0 00-.827.827v2.779l-5.548-5.708 5.548-5.388v3.248c0 .456.37.827.827.827h25.182a.826.826 0 000-1.653zM4.997 2.563h16.912c1.66 0 3.009 1.35 3.009 3.009v.416H1.988v-.416a3.013 3.013 0 013.009-3.009zm16.912 45.034H4.997a3.013 3.013 0 01-3.009-3.01v-3.002h22.931v3.002a3.014 3.014 0 01-3.01 3.01z"
></path>
</svg>
</div>
<div class="col-md-12 dashboard-title">
<h3 class="pivx-bold-title-smaller">
<span data-i18n="dCardOneTitle">Create a</span>
<div data-i18n="dCardOneSubTitle">New Wallet</div>
</h3>
<p data-i18n="dCardOneDesc">Create a new PIVX wallet, offering the most secure backup & security methods.</p>
</div>
<button class="pivx-button-big" onclick="MPW.generateWallet()">
<span class="buttoni-icon">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 70">
<path d="M3.497 25.717C1.401 25.588 0 23.847 0 21.753v-2.535c0-.775.149-1.593.925-1.593h22.719c2.173 0 3.941 1.861 3.941 4.034 0 2.174-1.769 3.988-3.941 3.988l-20.207.048c-.02 0 .08.023.06.022z"></path>
<path
d="M5.229 69.625C4.455 69.625 4 68.494 4 67.719V38.661c0-1.911 1.447-3.731 3.258-3.989.175-.029.285-.047.483-.047h21.525c7.137 0 12.751-5.86 12.751-13.027 0-7.096-5.528-12.841-12.586-13.177-.002 0-.671.016-1.41.016l-20.335.066C5.529 8.373 4 6.652 4 4.558V2.023C4 1.247 4.407.625 5.183.625h24.059c11.57 0 20.654 9.546 20.706 21.104 0 9.378-6.307 17.727-15.337 20.311-1.622.445-3.122.705-4.735.778L12 42.842v22.485c0 2.156-2.141 4.298-4.235 4.298H5.229z"
></path>
</svg>
</span>
<span class="buttoni-text" data-i18n="dCardOneButton">Create A New Wallet</span>
</button>
</div>
</div>
<!-- // GENERATE WALLET -->
<!-- WARNING -->
<div class="col-12" id='genKeyWarning' style='display: none;'>
<center>
<div class="dcWallet-warningMessage" data-toggle="modal" data-target="#encryptWalletModal">
<div class="shieldLogo">
<div class="shieldBackground">
<span class="dcWallet-svgIconPurple" style="top: 14px; left: 7px;">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
<path d="M85.967 10.65l-32.15-9.481a13.466 13.466 0 00-7.632 0l-32.15 9.48C11.661 11.351 10 13.567 10 16.042v26.623c0 12.321 3.67 24.186 10.609 34.31 6.774 9.885 16.204 17.49 27.264 21.99a5.612 5.612 0 004.251 0c11.061-4.5 20.491-12.104 27.266-21.99C86.329 66.85 90 54.985 90 42.664V16.042a5.656 5.656 0 00-4.033-5.392zM69 68.522C69 70.907 67.03 72 64.584 72H34.092C31.646 72 30 70.907 30 68.522v-23.49C30 42.647 31.646 41 34.092 41H37v-9.828C37 24.524 41.354 18.5 49.406 18.5 57.37 18.5 62 24.066 62 31.172V41h2.584C67.03 41 69 42.647 69 45.032v23.49zM58 41v-9.828c0-4.671-3.708-8.472-8.5-8.472-4.791 0-8.5 3.8-8.5 8.472V41h17z"></path>
</svg>
</span>
</div>
</div>
<div>
<span style="color: #dfdfdf; font-size: 12px;">Getting Started</span><br>
Backup your wallet
</div>
</div>
</center>
</div>
<div class="modal fade" id="encryptWalletModal" tabindex="-1" role="dialog" aria-labelledby="encryptWalletLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content exportKeysModalColor">
<div class="modal-header">
<h5 class="modal-title" id="encryptWalletLabel">Encrypt wallet</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<i class="fa-solid fa-xmark closeCross"></i>
</button>
</div>
<div class="modal-body">
<div class="row m-0">
<div class="col-12 col-md-6 p-0 pr-0 pr-md-1">
<input class="center-text textboxTransparency" style="width: 100%; font-family: monospace;" type="password" id="newPassword" placeholder="Enter Password" />
</div>
<div class="col-12 col-md-6 p-0 pl-0 pl-md-1">
<input class="center-text textboxTransparency" style="width: 100%; font-family: monospace;" type="password" id="newPasswordRetype" placeholder="Re-type Password" />
</div>
</div>
</div>
<div class="modal-footer text-right">
<button class="pivx-button-small" onclick="MPW.guiEncryptWallet()">
<span class="dcWallet-svgIconPurple">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
<path
d="M85.967 10.65l-32.15-9.481a13.466 13.466 0 00-7.632 0l-32.15 9.48C11.661 11.351 10 13.567 10 16.042v26.623c0 12.321 3.67 24.186 10.609 34.31 6.774 9.885 16.204 17.49 27.264 21.99a5.612 5.612 0 004.251 0c11.061-4.5 20.491-12.104 27.266-21.99C86.329 66.85 90 54.985 90 42.664V16.042a5.656 5.656 0 00-4.033-5.392zM69 68.522C69 70.907 67.03 72 64.584 72H34.092C31.646 72 30 70.907 30 68.522v-23.49C30 42.647 31.646 41 34.092 41H37v-9.828C37 24.524 41.354 18.5 49.406 18.5 57.37 18.5 62 24.066 62 31.172V41h2.584C67.03 41 69 42.647 69 45.032v23.49zM58 41v-9.828c0-4.671-3.708-8.472-8.5-8.472-4.791 0-8.5 3.8-8.5 8.472V41h17z"
></path>
</svg>
</span>
Encrypt
</button>
</div>
</div>
</div>
</div>
<!-- // WARNING -->
<br />
<!-- Unlock wallet -->
<div class="col-12 p-0" id='guiRestoreWallet' hidden>
<center>
<div class="dcWallet-warningMessage" onclick="MPW.restoreWallet()">
<div class="shieldLogo">
<div class="shieldBackground">
<span class="dcWallet-svgIconPurple" style="top: 14px; left: 7px;">
<i class="fas fa-lock" style="position: relative; left: 3px; top: -5px;"></i>
</span>
</div>
</div>
<div class="lockUnlock">
Unlock wallet
</div>
</div>
</center>
</div>
<!-- // Unlock Wallet -->
<!-- Lock wallet -->
<div class="col-12" id='guiWipeWallet' hidden>
<center>
<div class="dcWallet-warningMessage" onclick="MPW.wipePrivateData()">
<div class="shieldLogo">
<div class="shieldBackground">
<span class="dcWallet-svgIconPurple" style="top: 14px; left: 7px;">
<i class="fas fa-unlock" style="position: relative; left: 3px; top: -5px;"></i>
</span>
</div>
</div>
<div class="lockUnlock">
Lock wallet
</div>
</div>
</center>
</div>
<!-- // Lock Wallet -->
<!-- Redeem Code (PIVX Promos) -->
<div class="modal" id="redeemCodeModal" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" data-keyboard="false">
<div class="modal-dialog modal-dialog-centered max-w-600" role="document">
<div class="modal-content">
<div class="modal-header" id="redeemCodeModalHeader">
<h3 class="modal-title" id="redeemCodeModalTitle" style="text-align: center; width: 100%; color: #8e21ff;">Redeem Code</h3>
</div>
<div class="modal-body center-text">
<center>
<p class="mono" style="font-size: small;">
<b>PIVX Promos</b> is a decentralised system for gift codes worth PIV
</p>
<div id="redeemCodeModeBox">
<button type="button" onclick="MPW.setPromoMode(true)" id="redeemCodeModeRedeem" class="pivx-button-big" style="margin: 0;border-top-right-radius: 0;border-bottom-right-radius: 0;opacity: 0.5;">Redeem</button>
<button type="button" onclick="MPW.setPromoMode(false)" id="redeemCodeModeCreate" class="pivx-button-big" style="margin: 0;border-top-left-radius: 0;border-bottom-left-radius: 0;opacity: 0.8;">Create</button>
</div>
<br>
<br>
<div id="redeemCodeUse">
<div class="col-8" id="redeemCodeInputBox">
<div class="input-group" style="border-color: #9121ff;border-style: solid;border-radius: 10px;">
<input class="btn-group-input mono center-text" type="text" id="redeemCodeInput" placeholder="Enter your 'PIVX Promos' code" autocomplete="nope" />
<div class="input-group-append">
<span class="input-group-text ptr" onclick="MPW.openPromoQRScanner()"><i class="fa-solid fa-qrcode fa-2xl"></i></span>
</div>
</div>
</div>
<center>
<div id="redeemCodeGiftIconBox" style="display: none;">
<br>
<br>
<i id="redeemCodeGiftIcon" onclick="MPW.sweepPromoCode();" class="fa-solid fa-gift fa-2xl" style="color: #813d9c; font-size: 4em;"></i>
</div>
<p id="redeemCodeETA" style="margin-bottom: 0; display: none;">
<br><br>
</p>
<progress id="redeemCodeProgress" min="0" max="100" value="50" style="display: none"></progress>
</center>
</div>
<div id="redeemCodeCreate" style="display: none;">
<div class="col-11">
<div class="row">
<div class="col-6" style="padding-right:3px;">
<div class="input-group" style="border-color: #9121ff;border-style: solid;border-radius: 10px;">
<input class="btn-group-input mono center-text" style="border-top-right-radius: 9px; border-bottom-right-radius: 9px;" type="text" id="redeemCodeCreateInput" placeholder="Promo Name (Optional)" autocomplete="nope" />
</div>
</div>
<div class="col-6" style="padding-left:3px;">
<div class="input-group" style="border-color: #9121ff;border-style: solid;border-radius: 10px;">
<input class="btn-group-input mono center-text" style="border-top-right-radius: 9px; border-bottom-right-radius: 9px;" type="text" id="redeemCodeCreateAmountInput" placeholder="Promo Amount" autocomplete="nope" />
</div>
</div>
</div>
</div>
<div class="table-promo d-none" id="promo-table">
<br>
<table class="table table-hover">
<thead>
<tr>
<td class="text-center"><b> Manage </b></td>
<td class="text-center"><b> Promo Code </b></td>
<td class="text-center"><b> Amount </b></td>
<td class="text-center"><b> State </b></td>
</tr>
</thead>
<tbody id="redeemCodeCreatePendingList" style="text-align: center; vertical-align: middle;">
</tbody>
</table>
</div>
</div>
<br>
</center>
</div>
<div class="modal-footer" hidden="true" id="redeemCodeModalButtons">
<button type="button" onclick="MPW.promoConfirm()" id="redeemCodeModalConfirmButton" class="pivx-button-big" style="float: right;">Redeem</button>
<button type="button" data-dismiss="modal" aria-label="Close" class="pivx-button-big" style="float: right; opacity: 0.7;">Close</button>
</div>
</div>
</div>
</div>
<!-- // Redeem Code (PIVX Promos) -->
<!-- WALLET FEATURES -->
<div id="guiWallet" style="display: none;">
<div class="row p-0">
<!-- Balance in PIVX & USD-->
<div class="col-12 p-0 mb-5">
<center>
<div class="dcWallet-balances mb-4">
<div class="row lessBot p-0">
<div class="col-6 d-flex dcWallet-topLeftMenu" style="justify-content: flex-start;">
<h3 class="noselect balance-title">
<span class="reload noselect" onclick="MPW.refreshChainData()"><i id="balanceReload" class="fa-solid fa-rotate-right"></i></span>
</h3>
</div>
<div class="col-6 d-flex dcWallet-topRightMenu" style="justify-content: flex-end;">
<div class="btn-group dropleft">
<i class="fa-solid fa-ellipsis-vertical" style="width: 20px;" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></i>
<div class="dropdown">
<div class="dropdown-move">
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<a class="dropdown-item ptr" onclick="MPW.renderWalletBreakdown()" data-toggle="modal" data-target="#walletBreakdownModal">
<i class="fa-solid fa-chart-pie"></i> Balance Breakdown
</a>
<a class="dropdown-item ptr" onclick="MPW.openExplorer()">
<i class="fa-solid fa-magnifying-glass"></i> View on Explorer
</a>
<a id="guiExportWalletItem" class="dropdown-item ptr" data-toggle="modal" data-target="#exportPrivateKeysModal" data-backdrop="static" data-keyboard="false" onclick="MPW.toggleExportUI()">
<i class="fas fa-key"></i> Export
</a>
<a class="dropdown-item ptr" id="guiNewAddress" data-toggle="modal" data-target="#qrModal" onclick="MPW.getNewAddress({updateGUI: true, verify: true});">
<i class="fas fa-sync-alt"></i> Refresh address
</a>
<a class="dropdown-item ptr" data-toggle="modal" data-target="#redeemCodeModal">
<i class="fa-solid fa-gift"></i> Redeem or Create Code
</a>
</div>
</div>
</div>
</div>
</div>
</div>
<canvas id="identicon" class="innerShadow" style="width: 65px; height: 65px;" data-jdenticon-value=""></canvas><br />
<span class="ptr" onclick="MPW.renderWalletBreakdown()" data-toggle="modal" data-target="#walletBreakdownModal">
<span class="dcWallet-pivxBalance" id="guiBalance"></span>
<span id="guiBalanceTicker" class="dcWallet-pivxTicker">PIVX</span>
<i class="fa-solid fa-plus" style="opacity: 0.5; position: relative; left: 2px;"></i>
</span>
<br />
<div class="dcWallet-usdBalance">
<span id="guiBalanceValue" class="dcWallet-usdValue">$-</span>
<span id="guiBalanceValueCurrency" class="dcWallet-usdValue">USD</span>
</div>
<div class="row lessTop p-0">
<div class="col-6 d-flex" style="justify-content: flex-start;">
<div class="dcWallet-sWithdraw" onclick="MPW.toggleBottomMenu('transferMenu', 'transferAnimation')">
<i class="fas fa-arrow-up"></i>
</div>
</div>
<div class="col-6 d-flex" style="justify-content: flex-end;">
<div class="dcWallet-sDeposit" data-toggle="modal" data-target="#qrModal">
<i class="fas fa-arrow-down"></i>
</div>
</div>
</div>
</div>
</center>
</div>
<div class="col-12 mb-5">
<center><span class="dcWallet-activityLbl">Activity</span></center>
<div class="dcWallet-activity">
<div class="scrollTable">
<div id="activity-list-content"></div>
<center>
<button class="pivx-button-medium" id="activityLoadMore" onclick="MPW.updateActivityGUI(false)">
<span class="buttoni-icon"><i class="fas fa-sync fa-tiny-margin" id="activityLoadMoreIcon"></i></span>
<span class="buttoni-text" data-i18n="loadMore">Load more</span>
</button>
</center>
</div>
</div>
</div>
</div>
<!-- Export Private Key Modal -->
<div class="modal fade" id="exportPrivateKeysModal" tabindex="-1" role="dialog" aria-labelledby="exportPrivateKeysLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-full" role="document">
<div class="modal-content exportKeysModalColor">
<div class="modal-header">
<h5 class="modal-title" id="exportPrivateKeysLabel">Private Key</h5>
<button type="button" class="close" onclick="MPW.toggleExportUI()" data-dismiss="modal" aria-label="Close">
<i class="fa-solid fa-xmark closeCross"></i>
</button>
</div>
<div class="modal-body">
<div class="dcWallet-privateKeyDiv text-center">
<img id="privateKeyImage" /><br />
<h3>View Private Key?</h3>
<span class="span1">Make sure no one can see your screen.</span>
<span class="span2">Anyone with this key can steal your funds.</span>
<code class="blurred" id="exportPrivateKeyText"></code>
</div>
</div>
<div class="modal-footer text-center">
<button class="pivx-button-big" onclick="MPW.unblurPrivKey()">
<span class="buttoni-text">View key</span>
</button>
</div>
</div>
</div>
</div>
<!-- // Export Private Keys Modal -->
<div id="transferMenu" class="exportKeysModalColor transferMenu transferAnimation">
<div class="transferHeader">
<div class="transferHeaderText">Transfer</div>
<div class="transferExit" onclick="MPW.toggleBottomMenu('transferMenu', 'transferAnimation')"><i class="fa-solid fa-xmark"></i></div>
</div>
<div class="transferBody">
<label data-i18n="sendReceiverAddress">Address</label><br />
<div class="input-group mb-3">
<input class="btn-group-input" style="font-family: monospace; " type="text" id="address1s" placeholder="Receiving address" autocomplete="nope" />
<div class="input-group-append">
<span class="input-group-text ptr" onclick="MPW.openSendQRScanner()"><i class="fa-solid fa-qrcode fa-2xl"></i></span>
</div>
</div>
<div id="reqDescDisplay" style="display: none;">
<label><span data-i18n="paymentRequestMessage">Description (from the merchant)</span></label><br />
<div class="input-group">
<input class="btn-input" style="font-family: monospace; " type="text" disabled id="reqDesc" placeholder="Payment Request Description" autocomplete="nope" />
</div>
</div>
<label><span data-i18n="amount">Amount</span></label><br />
<div class="row">
<div class="col-7 pr-2">
<div class="input-group mb-3">
<input class="btn-group-input" style="padding-right: 0px;" type="number" id="sendAmountCoins" placeholder="0.00" autocomplete="nope" onkeydown="javascript: return event.keyCode == 69 ? false : true" />
<div class="input-group-append">
<span class="input-group-text p-0">
<div data-i18n="sendAmountCoinsMax" onclick="MPW.selectMaxBalance(MPW.doms.domSendAmountCoins, MPW.doms.domSendAmountValue)" style="cursor: pointer; border: 0px; border-radius: 7px; padding: 3px 6px; margin: 0px 1px; background: linear-gradient(183deg, #9621ff9c, #7d21ffc7); color: #fff; font-weight: bold;">
MAX
</div>
</span>
<span id="sendAmountCoinsTicker" class="input-group-text">PIVX</span>
</div>
</div>
</div>
<div class="col-5 pl-2">
<div class="input-group mb-3">
<input class="btn-group-input" type="text" id="sendAmountValue" placeholder="0.00" autocomplete="nope" onkeydown="javascript: return event.keyCode == 69 ? false : true" />
<div class="input-group-append">
<span id="sendAmountValueCurrency" class="input-group-text pl-0">USD</span>
</div>
</div>
</div>
</div>
<div id="advMode1" class="d-none">
<label><span data-i18n="fee">Fee</span></label><br />
<div class="row text-center">
<div class="col-4 pr-1">
<div id="lowFee" onclick="switchFee(this)" class="feeButton">
Low<br>
9 sat/B
</div>
</div>
<div class="col-4 pl-2 pr-2">
<div id="mediumFee" onclick="switchFee(this)" class="feeButton feeButtonSelected">
Medium<br>
11 sat/B
</div>
</div>
<div class="col-4 pl-1">
<div id="highFee" onclick="switchFee(this)" class="feeButton">
High<br>
14 sat/B
</div>
</div>
</div><br />
</div>
<div class="text-right pb-2">
<button class="pivx-button-medium w-100" style="margin:0px;" onclick="MPW.createTxGUI()">
<span class="buttoni-icon"><i class="fas fa-paper-plane fa-tiny-margin"></i></span>
<span class="buttoni-text" id="genIt" data-i18n="sendTransaction">Send</span>
</button>
</div>
</div>
</div>
</div>
<!-- GENERATE VANITY WALLET -->
<div class="col-12 col-lg-6 p-2">
<div id="generateVanityWallet" class="h-100 dashboard-item dashboard-display">
<div class="container">
<div class="coinstat-icon">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50">
<path
d="M45.936 22.101c-1.321-4.06-2.976-6.808-3.045-6.922a.754.754 0 00-1.39.506c.003.016.193 1.655-1.762 3.08-.671.49-1.896.378-2.569-.234-.828-.753-.744-2.081.237-3.738C40.95 8.818 35.582 1.034 35.352.707a.757.757 0 00-1.369.35c-.002.022-.264 2.274-1.601 4.499-1.747 2.906-4.447 4.417-8.026 4.491-5.056.105-8.143 1.798-9.843 3.201-1.885 1.556-2.542 3.111-2.569 3.176a.755.755 0 00.525 1.022c1.916.45 2.546 1.966 2.503 3.127-.038 1.027-.636 2.314-2.201 2.563-1.112.176-1.965-.002-2.535-.532-1.144-1.063-.975-3.236-.973-3.256a.755.755 0 00-1.232-.65c-4.492 3.706-6.797 10.581-5.735 17.109.468 2.875 1.59 5.545 3.247 7.724 1.854 2.437 4.333 4.266 7.372 5.434a.754.754 0 10.542-1.408C6.292 44.8 4.323 38.86 3.787 35.563a18.666 18.666 0 01.711-8.828c.754-2.28 1.901-4.258 3.354-5.803.154.907.518 1.99 1.352 2.77.928.866 2.208 1.176 3.805.922 2.001-.317 3.396-1.923 3.472-3.997.06-1.631-.775-3.485-2.732-4.342.97-1.445 3.855-4.591 10.639-4.732 5.173-.107 7.922-2.926 9.317-5.272.666-1.12 1.09-2.23 1.356-3.125.397.746.855 1.708 1.234 2.79 1.136 3.235 1.072 5.953-.187 8.077-1.94 3.273-.615 5.022.044 5.622 1.212 1.102 3.219 1.252 4.475.337.998-.728 1.583-1.517 1.924-2.229a37.385 37.385 0 011.962 4.852c1.156 3.565 2.237 8.886.819 13.997-1.352 4.873-4.731 8.762-10.044 11.56a.755.755 0 00.704 1.335c5.698-3.001 9.331-7.206 10.796-12.5 1.519-5.484.375-11.128-.852-14.896z"
></path>
<path d="M40.953 11.943a.754.754 0 101.459-.376l-.294-1.143a.756.756 0 00-1.462.377l.297 1.142zM25.17 33.984a.848.848 0 000-1.694h-6.537a.117.117 0 00-.117.118v.729c0 .454.358.825.805.853l5.849-.006z"></path>
<path
d="M26.779 27.343h-6.921a.117.117 0 00-.118.117v.73a.86.86 0 00.805.853l5.883-.015c.219 0 .419.007.419.007a4.106 4.106 0 013.896 4.103 4.083 4.083 0 01-3.957 4.08h-6.192c-.041 0-.083 0-.124.009a.838.838 0 00-.715.775v8.363c0 .066.055.115.117.115h.729a.859.859 0 00.854-.807v-6.651c0-.057.055-.105.109-.105l5.346-.008a6.014 6.014 0 001.334-.213 5.788 5.788 0 004.205-5.567 5.81 5.81 0 00-5.67-5.786z"
></path>
</svg>
</div>
<div class="col-md-12 dashboard-title">
<h3 class="pivx-bold-title" style="font-size: 38px;">
<span data-i18n="dCardTwoTitle">Create a new</span>
<div data-i18n="dCardTwoSubTitle">Vanity Wallet</div>
</h3>
<p data-i18n="dCardTwoDesc">
Create a wallet with a custom prefix, this can take a long time!
</p>
<span style="opacity: 0.75; font-size: small;">Note: addresses will always start with: <b id="prefixNetwork">D</b></span>
</div>
<input class="center-text" style="display: none; opacity: 0;" type="text" id="prefix" placeholder="Address Prefix" onkeypress="MPW.checkVanity()" />
<button class="pivx-button-big" onclick="MPW.generateVanityWallet()">
<span class="buttoni-icon">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 70">
<path d="M3.497 25.717C1.401 25.588 0 23.847 0 21.753v-2.535c0-.775.149-1.593.925-1.593h22.719c2.173 0 3.941 1.861 3.941 4.034 0 2.174-1.769 3.988-3.941 3.988l-20.207.048c-.02 0 .08.023.06.022z"></path>
<path
d="M5.229 69.625C4.455 69.625 4 68.494 4 67.719V38.661c0-1.911 1.447-3.731 3.258-3.989.175-.029.285-.047.483-.047h21.525c7.137 0 12.751-5.86 12.751-13.027 0-7.096-5.528-12.841-12.586-13.177-.002 0-.671.016-1.41.016l-20.335.066C5.529 8.373 4 6.652 4 4.558V2.023C4 1.247 4.407.625 5.183.625h24.059c11.57 0 20.654 9.546 20.706 21.104 0 9.378-6.307 17.727-15.337 20.311-1.622.445-3.122.705-4.735.778L12 42.842v22.485c0 2.156-2.141 4.298-4.235 4.298H5.229z"
></path>
</svg>
</span>
<span class="buttoni-text" id="vanButtonText" data-i18n="dCardTwoButton">Create A Vanity Wallet</span>
</button>
</div>
</div>
</div>
<!-- // GENERATE VANITY WALLET -->
<br />
<!-- ACCESS LEDGER HARDWARE WALLET -->
<div class="col-12 col-lg-6 p-2">
<div id="generateHardwareWallet" class="h-100 dashboard-item dashboard-display">
<div class="container">
<div class="coinstat-icon">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50">
<path
d="M45.936 22.101c-1.321-4.06-2.976-6.808-3.045-6.922a.754.754 0 00-1.39.506c.003.016.193 1.655-1.762 3.08-.671.49-1.896.378-2.569-.234-.828-.753-.744-2.081.237-3.738C40.95 8.818 35.582 1.034 35.352.707a.757.757 0 00-1.369.35c-.002.022-.264 2.274-1.601 4.499-1.747 2.906-4.447 4.417-8.026 4.491-5.056.105-8.143 1.798-9.843 3.201-1.885 1.556-2.542 3.111-2.569 3.176a.755.755 0 00.525 1.022c1.916.45 2.546 1.966 2.503 3.127-.038 1.027-.636 2.314-2.201 2.563-1.112.176-1.965-.002-2.535-.532-1.144-1.063-.975-3.236-.973-3.256a.755.755 0 00-1.232-.65c-4.492 3.706-6.797 10.581-5.735 17.109.468 2.875 1.59 5.545 3.247 7.724 1.854 2.437 4.333 4.266 7.372 5.434a.754.754 0 10.542-1.408C6.292 44.8 4.323 38.86 3.787 35.563a18.666 18.666 0 01.711-8.828c.754-2.28 1.901-4.258 3.354-5.803.154.907.518 1.99 1.352 2.77.928.866 2.208 1.176 3.805.922 2.001-.317 3.396-1.923 3.472-3.997.06-1.631-.775-3.485-2.732-4.342.97-1.445 3.855-4.591 10.639-4.732 5.173-.107 7.922-2.926 9.317-5.272.666-1.12 1.09-2.23 1.356-3.125.397.746.855 1.708 1.234 2.79 1.136 3.235 1.072 5.953-.187 8.077-1.94 3.273-.615 5.022.044 5.622 1.212 1.102 3.219 1.252 4.475.337.998-.728 1.583-1.517 1.924-2.229a37.385 37.385 0 011.962 4.852c1.156 3.565 2.237 8.886.819 13.997-1.352 4.873-4.731 8.762-10.044 11.56a.755.755 0 00.704 1.335c5.698-3.001 9.331-7.206 10.796-12.5 1.519-5.484.375-11.128-.852-14.896z"
></path>
<path d="M40.953 11.943a.754.754 0 101.459-.376l-.294-1.143a.756.756 0 00-1.462.377l.297 1.142zM25.17 33.984a.848.848 0 000-1.694h-6.537a.117.117 0 00-.117.118v.729c0 .454.358.825.805.853l5.849-.006z"></path>
<path
d="M26.779 27.343h-6.921a.117.117 0 00-.118.117v.73a.86.86 0 00.805.853l5.883-.015c.219 0 .419.007.419.007a4.106 4.106 0 013.896 4.103 4.083 4.083 0 01-3.957 4.08h-6.192c-.041 0-.083 0-.124.009a.838.838 0 00-.715.775v8.363c0 .066.055.115.117.115h.729a.859.859 0 00.854-.807v-6.651c0-.057.055-.105.109-.105l5.346-.008a6.014 6.014 0 001.334-.213 5.788 5.788 0 004.205-5.567 5.81 5.81 0 00-5.67-5.786z"
></path>
</svg>
</div>
<div class="col-md-12 dashboard-title">
<h3 class="pivx-bold-title" style="font-size: 38px;">
<span data-i18n="dCardThreeTitle">Access your</span>
<div data-i18n="dCardThreeSubTitle">Ledger Wallet</div>
</h3>
<p data-i18n="dCardThreeDesc">Use your Ledger Hardware wallet with MPW's familiar interface.</p>
</div>
<button class="pivx-button-big" onclick="MPW.importWallet({isHardwareWallet: true})">
<span class="buttoni-icon">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 70">
<path d="M3.497 25.717C1.401 25.588 0 23.847 0 21.753v-2.535c0-.775.149-1.593.925-1.593h22.719c2.173 0 3.941 1.861 3.941 4.034 0 2.174-1.769 3.988-3.941 3.988l-20.207.048c-.02 0 .08.023.06.022z"></path>
<path
d="M5.229 69.625C4.455 69.625 4 68.494 4 67.719V38.661c0-1.911 1.447-3.731 3.258-3.989.175-.029.285-.047.483-.047h21.525c7.137 0 12.751-5.86 12.751-13.027 0-7.096-5.528-12.841-12.586-13.177-.002 0-.671.016-1.41.016l-20.335.066C5.529 8.373 4 6.652 4 4.558V2.023C4 1.247 4.407.625 5.183.625h24.059c11.57 0 20.654 9.546 20.706 21.104 0 9.378-6.307 17.727-15.337 20.311-1.622.445-3.122.705-4.735.778L12 42.842v22.485c0 2.156-2.141 4.298-4.235 4.298H5.229z"
></path>
</svg>
</span>
<span class="buttoni-text" data-i18n="dCardThreeButton">Access my Ledger</span>
</button>
</div>
</div>
</div>
<!-- // IMPORT LEDGER HARDWARE WALLET -->
<br />
<!-- ACCESS WALLET -->
<div class="col-12 col-lg-6 p-2">
<div id="accessWallet" class="h-100 dashboard-item dashboard-display" style="margin-bottom: 100px;">
<div class="container">
<div class="coinstat-icon">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50">
<path
d="M33.722 29.626c-5.494 1.373-8.848 6.96-7.475 12.456a10.2 10.2 0 004.679 6.316 10.212 10.212 0 007.778 1.159 10.21 10.21 0 006.317-4.681 10.205 10.205 0 001.156-7.776c-1.372-5.494-6.959-8.847-12.455-7.474zm10.063 14.511a8.77 8.77 0 01-5.433 4.022 8.771 8.771 0 01-6.685-.994 8.778 8.778 0 01-4.024-5.433c-1.182-4.725 1.702-9.529 6.427-10.71a8.832 8.832 0 012.141-.265c3.958 0 7.569 2.684 8.57 6.692a8.776 8.776 0 01-.996 6.688z"
></path>
<path
d="M26.835 47.111H10.727v-3.539h13.229a.72.72 0 000-1.439H10.727v-3.46h12.787a.72.72 0 100-1.439H8.292v-3.461h17.216a.718.718 0 100-1.439h-7.512V30.5a.515.515 0 10-1.028 0v1.834h-6.24v-3.423h1.042V30.5a.514.514 0 101.028 0v-1.589h1.671V30.5a.514.514 0 101.028 0v-1.589h14.946a.72.72 0 100-1.439h-4.227v-10.61c0-1.086.136-2.098.355-3.031a9.03 9.03 0 001.901.037c1.952-.177 3.519-1.027 4.527-2.46C35.914 7.268 34.3.841 34.229.569a.718.718 0 00-.857-.521c-.112.025-2.776.646-5.324 2.137-3.532 2.069-5.09 4.802-4.508 7.905a.72.72 0 101.414-.266c-.464-2.477.812-4.624 3.797-6.38 1.605-.945 3.308-1.524 4.237-1.799.117.638.268 1.65.301 2.813.052 1.771-.161 4.271-1.466 6.124-.762 1.081-1.919 1.704-3.44 1.85a7.342 7.342 0 01-1.397-.002c1.253-3.551 3.606-5.621 3.639-5.647a.72.72 0 10-.936-1.094c-.156.133-3.046 2.654-4.317 7.018a.617.617 0 00-.046.129c-.007.027-.008.054-.012.081a14.777 14.777 0 00-.535 3.948v3.502a20.63 20.63 0 00-1.5-1.928c.199-.761.804-3.777-1.522-5.652-3.09-2.491-9.616-1.796-9.892-1.766a.719.719 0 00-.609.926c.12.388 2.883 9.168 8.321 9.168.205 0 .414-.012.626-.038a.72.72 0 00-.174-1.43c-1.896.231-3.704-1.017-5.368-3.71-.819-1.326-1.401-2.698-1.725-3.553a24.135 24.135 0 012.563.002c2.438.137 4.289.663 5.354 1.521 1.149.926 1.27 2.31 1.189 3.25-1.439-1.353-2.536-1.932-2.619-1.975a.719.719 0 10-.659 1.28c.034.018 3.374 1.782 6.015 6.661v4.352H10.007a.72.72 0 00-.72.72v4.142H7.572a.72.72 0 00-.72.72v4.897a.72.72 0 00.72.721h1.716v9.155c0 .398.322.72.72.72h16.828a.72.72 0 10-.001-1.439zM45.188 9.529a.72.72 0 00.721-.72v-.642a.72.72 0 00-1.441 0v.643a.72.72 0 00.72.719zm0 4.407a.72.72 0 00.721-.72v-.642a.72.72 0 00-1.441 0v.642c0 .397.322.72.72.72zm-2.525-2.525h.644a.72.72 0 000-1.439h-.644a.718.718 0 100 1.439zm4.406 0h.643a.72.72 0 100-1.439h-.643a.72.72 0 100 1.439zm-9.245 10.11a.721.721 0 00.721-.72v-.643a.72.72 0 00-1.44 0v.642a.72.72 0 00.719.721zm0 4.405a.72.72 0 00.721-.719v-.642a.72.72 0 10-1.44 0v.642a.72.72 0 00.719.719zm-2.523-2.524h.643a.72.72 0 000-1.44h-.643a.72.72 0 100 1.44zm4.406 0h.643a.72.72 0 000-1.44h-.643a.72.72 0 100 1.44zm-34.7-4.7a.72.72 0 00-.72.72v.642a.72.72 0 001.44 0v-.642a.72.72 0 00-.72-.72zm0 4.406a.72.72 0 00-.72.72v.642a.72.72 0 001.44 0v-.642a.72.72 0 00-.72-.72zm-1.882-1.881h-.642a.72.72 0 100 1.439h.642a.72.72 0 100-1.439zm4.407 1.439a.72.72 0 100-1.439h-.643a.72.72 0 100 1.439h.643z"
></path>
<circle cx="47.213" cy="21.709" r=".92"></circle>
<circle cx="47.424" cy="30.334" r=".92"></circle>
<circle cx="5.033" cy="11.611" r=".92"></circle>
<path
d="M19.612 29.966v.536a.514.514 0 101.028 0v-.536a.514.514 0 10-1.028 0zm-6.879 5.193v.759a.514.514 0 001.028 0v-.759a.515.515 0 00-.514-.515.516.516 0 00-.514.515zm-2.49 0v.759a.514.514 0 001.028 0v-.759a.515.515 0 00-.514-.515.516.516 0 00-.514.515zm5.189 0v.241a.514.514 0 001.028 0v-.241a.515.515 0 00-.514-.515.516.516 0 00-.514.515zm17.816 4.022c-.298.103-.597-.061-.717-.354l-.145-.354c-.047-.108-.073-.233.036-.275l3.179-1.313a.608.608 0 01.465 1.123l-2.828 1.173c-.001.002.013-.002.01 0z"
></path>
<path
d="M36.024 45.227c-.107.04-.237-.092-.279-.197l-1.68-4.067c-.11-.266-.013-.605.227-.744.022-.017.037-.024.064-.037l3.014-1.241c.997-.411 1.446-1.556 1.031-2.561a1.987 1.987 0 00-2.521-1.114l-.195.082-2.843 1.182a.583.583 0 01-.742-.339l-.147-.355c-.046-.106-.024-.219.086-.263l3.366-1.389c1.621-.668 3.441.143 4.114 1.759a3.21 3.21 0 01-1.592 4.11l-2.499 1.035 1.298 3.146c.125.3-.053.727-.347.847l-.355.146z"
></path>
</svg>
</div>
<div class="col-md-12 dashboard-title">
<h3 class="pivx-bold-title-smaller">
<span data-i18n="dCardFourTitle">Go to</span>
<div data-i18n="dCardFourSubTitle">My Wallet</div>
</h3>
<p data-i18n="dCardFourDesc">
Import a PIVX wallet using a Private Key, xpriv, or Seed Phrase.
</p>
</div>
<!-- IMPORT WALLET -->
<input class="hide-element" type="text" id="clipboard" />
<div id="importWallet" style="display: none;">
<input type="password" class="textbox-opacity-trans" id="privateKey" placeholder="Seed Phrase, XPriv or WIF Private Key" oninput="MPW.onPrivateKeyChanged()" />
<input hidden type="password" id="privateKeyPassword" placeholder="Password" />
<button class="pivx-button-big" onclick="MPW.guiImportWallet()">
<span class="buttoni-icon"><i class="fas fa-file-upload fa-tiny-margin"></i></span>
<span class="buttoni-text" id="importWalletText" data-i18n="dCardFourButtonI">Import Wallet</span>
<span class="buttoni-arrow">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
<path d="M23.328 16.707L13.121 26.914a.5.5 0 01-.707 0l-2.828-2.828a.5.5 0 010-.707L16.964 16 9.586 8.621a.5.5 0 010-.707l2.828-2.828a.5.5 0 01.707 0l10.207 10.207a1 1 0 010 1.414z"></path>
</svg>
</span>
</button>
</div>
<!-- // IMPORT WALLET -->
<button class="pivx-button-big" id="accessWalletBtn" onclick="MPW.accessOrImportWallet()">
<span class="buttoni-icon">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 70">
<path d="M3.497 25.717C1.401 25.588 0 23.847 0 21.753v-2.535c0-.775.149-1.593.925-1.593h22.719c2.173 0 3.941 1.861 3.941 4.034 0 2.174-1.769 3.988-3.941 3.988l-20.207.048c-.02 0 .08.023.06.022z"></path>
<path
d="M5.229 69.625C4.455 69.625 4 68.494 4 67.719V38.661c0-1.911 1.447-3.731 3.258-3.989.175-.029.285-.047.483-.047h21.525c7.137 0 12.751-5.86 12.751-13.027 0-7.096-5.528-12.841-12.586-13.177-.002 0-.671.016-1.41.016l-20.335.066C5.529 8.373 4 6.652 4 4.558V2.023C4 1.247 4.407.625 5.183.625h24.059c11.57 0 20.654 9.546 20.706 21.104 0 9.378-6.307 17.727-15.337 20.311-1.622.445-3.122.705-4.735.778L12 42.842v22.485c0 2.156-2.141 4.298-4.235 4.298H5.229z"
></path>
</svg>
</span>
<span class="buttoni-text" id="wToggle" data-i18n="dCardFourButtonA">Access My Wallet</span>
</button>
</div>
</div>
</div>
<!-- // ACESSS WALLET -->
<br />
<br />
</div>
</div>
<!-- // KEYPAIR SECTION -->
<div id="StakingTab" class="tabcontent">
<div class="row p-0">
<div class="col-12 p-0 mb-5">
<center>
<div class="dcWallet-balances mb-4" style="margin-top: 37px;">
<div class="row lessBot p-0">
<div class="col-6 d-flex dcWallet-topLeftMenu" style="justify-content: flex-start;">
<h3 class="noselect balance-title">
<span class="reload noselect" onclick="MPW.refreshChainData()"><i id="balanceReloadStaking" class="fa-solid fa-rotate-right cur-pointer"></i></span>
</h3>
</div>
<div class="col-6 d-flex dcWallet-topRightMenu" style="justify-content: flex-end;">
<div class="btn-group dropleft">
<i class="fa-solid fa-gear" style="width: 20px;" onclick="MPW.guiSetColdStakingAddress()"></i>
</div>
</div>
</div>
Staking<br>
<span class="dcWallet-pivxBalance" id="guiBalanceStaking">0</span> <span id="guiBalanceStakingTicker" class="dcWallet-pivxTicker">PIVX</span><br />
<div class="dcWallet-usdBalance">
<span id="guiStakingValue" class="dcWallet-usdValue">$-</span>
<span id="guiStakingValueCurrency" class="dcWallet-usdValue">USD</span>
</div>
<div class="row lessTop p-0">
<div class="col-6 d-flex" style="justify-content: flex-start;">
<div class="dcWallet-stake" onclick="MPW.toggleBottomMenu('stakingDelegate', 'transferAnimation')">
Stake
</div>
</div>
<div class="col-6 d-flex" style="justify-content: flex-end;">
<div class="dcWallet-unstake" onclick="MPW.toggleBottomMenu('stakingUndelegate', 'transferAnimation')">
Unstake
</div>
</div>
</div>
</div>
</center>
</div>
<div class="col-12 mb-5">
<center><span class="dcWallet-activityLbl">Reward History (<span id="staking-rewards-title">-</span>)</span></center>
<div class="dcWallet-activity">
<div class="scrollTable">
<div id="staking-rewards-content"></div>
<center>
<button class="pivx-button-medium" id="stakingLoadMore" onclick="MPW.updateActivityGUI(true)">
<span class="buttoni-icon"><i class="fas fa-sync fa-tiny-margin" id="stakingLoadMoreIcon"></i></span>
<span class="buttoni-text" data-i18n="loadMore">Load more</span>
</button>
</center>
</div>
</div>
</div>
</div>
<div id="stakingUndelegate" class="exportKeysModalColor transferMenu transferAnimation">
<div class="transferHeader">
<div class="transferHeaderText">Unstake</div>
<div class="transferExit" onclick="MPW.toggleBottomMenu('stakingUndelegate', 'transferAnimation')"><i class="fa-solid fa-xmark"></i></div>
</div>
<div class="transferBody">
<label><span data-i18n="amount">Amount</span> (<span id="availToUndelegate">-</span>)</label><br />
<div class="row">
<div class="col-7 pr-2">
<div class="input-group mb-3">
<input class="btn-group-input" style="padding-right: 0px;" type="number" id="undelegateAmount" placeholder="0.00" autocomplete="nope" onkeydown="javascript: return event.keyCode == 69 ? false : true" />
<div class="input-group-append">
<span class="input-group-text p-0">
<div onclick="MPW.selectMaxBalance(MPW.doms.domUnstakeAmount, MPW.doms.domUnstakeAmountValue, true)" style="cursor: pointer; border: 0px; border-radius: 7px; padding: 3px 6px; margin: 0px 1px; background: linear-gradient(183deg, #9621ff9c, #7d21ffc7); color: #fff; font-weight: bold;">
MAX
</div>
</span>
<span id="unstakeAmountCoinsTicker" class="input-group-text">PIVX</span>
</div>
</div>
</div>
<div class="col-5 pl-2">
<div class="input-group mb-3">
<input class="btn-group-input" type="text" id="unstakeAmountValue" placeholder="0.00" autocomplete="nope" onkeydown="javascript: return event.keyCode == 69 ? false : true" />
<div class="input-group-append">
<span id="unstakeAmountValueCurrency" class="input-group-text pl-0">USD</span>
</div>
</div>
</div>
</div>
<div class="text-right pb-2">
<button class="pivx-button-medium w-100" style="margin:0px;" onclick="MPW.undelegateGUI()">
<span class="buttoni-icon"><i class="fas fa-paper-plane fa-tiny-margin"></i></span>
<span class="buttoni-text">Unstake</span>
</button>
</div>
</div>
</div>
<div id="stakingDelegate" class="exportKeysModalColor transferMenu transferAnimation">
<div class="transferHeader">
<div class="transferHeaderText">Stake</div>
<div class="transferExit" onclick="MPW.toggleBottomMenu('stakingDelegate', 'transferAnimation')"><i class="fa-solid fa-xmark"></i></div>
</div>
<div class="transferBody">
<label><span data-i18n="amount">Amount</span> (<span id="availToDelegate">-</span>)</label><br />
<div class="row">
<div class="col-7 pr-2">
<div class="input-group mb-3">
<input class="btn-group-input" style="padding-right: 0px;" type="number" id="delegateAmount" placeholder="0.00" autocomplete="nope" onkeydown="javascript: return event.keyCode == 69 ? false : true" />
<div class="input-group-append">
<span class="input-group-text p-0">
<div onclick="MPW.selectMaxBalance(MPW.doms.domStakeAmount, MPW.doms.domStakeAmountValue)" style="cursor: pointer; border: 0px; border-radius: 7px; padding: 3px 6px; margin: 0px 1px; background: linear-gradient(183deg, #9621ff9c, #7d21ffc7); color: #fff; font-weight: bold;">
MAX
</div>
</span>
<span id="stakeAmountCoinsTicker" class="input-group-text">PIVX</span>
</div>
</div>
</div>
<div class="col-5 pl-2">
<div class="input-group mb-3">
<input class="btn-group-input" type="text" id="stakeAmountValue" placeholder="0.00" autocomplete="nope" onkeydown="javascript: return event.keyCode == 69 ? false : true" />
<div class="input-group-append">
<span id="stakeAmountValueCurrency" class="input-group-text pl-0">USD</span>
</div>
</div>
</div>
</div>
<div class="text-right pb-2">
<button class="pivx-button-medium w-100" style="margin:0px;" onclick="MPW.delegateGUI()">
<span class="buttoni-icon"><i class="fas fa-paper-plane fa-tiny-margin"></i></span>
<span class="buttoni-text">Stake</span>
</button>
</div>
</div>
</div>
</div>
<div id="Governance" class="tabcontent">
<div class="col-md-12 title-section float-left rm-pd">
<h3 class="pivx-bold-title center-text">Governance</h3>
<p class="center-text">From this tab you can check the proposals and, if you have a masternode, be a part of the <b>DAO</b> and vote!</p>
</div>
<div class="row mb-5">
<div class="col-6 col-lg-3 text-center governBudgetCard">
<span style="font-weight:800; color:#cac9d2;">Monthly Budget</span>
<div style="background-color:hsl(273 79% 27% / 1); margin-top:11px; border-radius: 9px; width: fit-content; padding-left: 13px; padding-right: 13px; padding-bottom: 10px; padding-top: 9px;">
<span style="font-size: 23px;"><span id="totalGovernanceBudget">-</span> <span style="color:#8b38ff;">PIV</span></span>
<hr style="background-color:#ffffff33; margin-top:2px; margin-bottom:2px;">
<span style="font-size: 16px;"><span id="totalGovernanceBudgetValue">-</span></span>
</div>
</div>
<div class="col-6 col-lg-3 text-center governBudgetCard for-mobile">
<span style="font-weight:800; color:#cac9d2;">Budget Allocated</span>
<div style="background-color:hsl(273 79% 23% / 1); margin-top:11px; border-radius: 9px; width: fit-content; padding-left: 13px; padding-right: 13px; padding-bottom: 10px; padding-top: 9px;">
<span style="font-size: 23px;"><span id="allocatedGovernanceBudget">-</span> <span style="color:#8b38ff;">PIV</span></span>
<hr style="background-color:#ffffff33; margin-top:2px; margin-bottom:2px;">
<span style="font-size: 16px;"><span id="allocatedGovernanceBudgetValue">-</span>
</div>
</div>
<div class="col-12 col-lg-6 text-center governPayoutTime">
<span style="font-weight:800; color:#cac9d2;">Next Treasury Payout</span>
<div id="flipdown" class="flipdown"></div>
</div>
<div class="col-12 col-lg-3 text-center governBudgetCard for-desktop">
<span style="font-weight:800; color:#cac9d2;">Budget Allocated</span>
<div style="background-color:hsl(273 79% 23% / 1); margin-top:11px; border-radius: 9px; width: fit-content; padding-left: 13px; padding-right: 13px; padding-bottom: 10px; padding-top: 9px;">
<span style="font-size: 23px;"><span id="allocatedGovernanceBudget2">-</span> <span style="color:#8b38ff;">PIV</span></span>
<hr style="background-color:#ffffff33; margin-top:2px; margin-bottom:2px;">
<span style="font-size: 16px;"><span id="allocatedGovernanceBudgetValue2">-</span>
</div>
</div>
</div>
<div class="pivx-button-small governAdd" onclick="MPW.createProposal()"><i class="fas fa-plus"></i></div>
<table id="proposalsTable" class="table table-hover table-dark bg-transparent governTable" style="width: 100%;">
<thead>
<td class="text-center btlr-7p"><b> STATUS </b></td>
<td class="text-center"><b> NAME </b></td>
<td class="text-center for-desktop"><b> PAYMENT </b></td>
<td class="text-center for-desktop"><b> VOTES </b></td>
<td class="text-center for-desktop btrr-7p"><b> VOTE </b></td>
</thead>
<tbody id="proposalsTableBody" style="text-align: center; vertical-align: middle;"></tbody>
</table>
<hr>
<br>
<h3 data-i18n="contestedProposalsTitle" style="width: 100%;text-align: center;">Contested Proposals</h3>
<p data-i18n="contestedProposalsDesc" style="width: 100%;text-align: center;">These are proposals that received an overwhelming amount of downvotes, making it likely spam or a highly contestable proposal.</p>
<br>
<table id="proposalsContestedTable" class="table table-hover table-dark bg-transparent governTable" style="width: 100%; opacity: 0.8;">
<thead>
<td class="text-center btlr-7p"><b> STATUS </b></td>
<td class="text-center"><b> NAME </b></td>
<td class="text-center for-desktop"><b> PAYMENT </b></td>
<td class="text-center for-desktop"><b> VOTES </b></td>