-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
2823 lines (2311 loc) · 134 KB
/
index.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>
<title>Bitbay Wallet - Decentralized Markets and Smarts Contracts</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta name="keywords" content="bitbay, wallet, multisig, locktime, market, multisignature, address, browser, javascript, js, broadcast, transaction, verify, decode" />
<meta name="description" content="A Bitbay Wallet written in Javascript. Supports Multisig, Custom Transactions, nLockTime and more!" />
<meta content='yes' name='apple-mobile-web-app-capable' />
<meta content='yes' name='mobile-web-app-capable' />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, viewport-fit=cover">
<!-- ******* Anoxy - For Testing Purpose on local ******* -->
<!-- <meta http-equiv="Content-Security-Policy"
content="
default-src *;
style-src * 'self' 'unsafe-inline' 'unsafe-eval';
script-src * 'self' 'unsafe-inline' 'unsafe-eval';">
-->
<!-- ****** faviconit.com favicons ****** -->
<link rel="manifest" href="manifest.json">
<link rel="shortcut icon" href="assets/images/favicon/favicon.ico">
<link rel="icon" sizes="16x16 32x32 64x64" href="assets/images/favicon/favicon.ico">
<link rel="icon" type="image/png" sizes="196x196" href="assets/images/favicon/favicon-192.png">
<link rel="icon" type="image/png" sizes="160x160" href="assets/images/favicon/favicon-160.png">
<link rel="icon" type="image/png" sizes="96x96" href="assets/images/favicon/favicon-96.png">
<link rel="icon" type="image/png" sizes="64x64" href="assets/images/favicon/favicon-64.png">
<link rel="icon" type="image/png" sizes="32x32" href="assets/images/favicon/favicon-32.png">
<link rel="icon" type="image/png" sizes="16x16" href="assets/images/favicon/favicon-16.png">
<link rel="apple-touch-icon" href="assets/images/favicon/favicon-57.png">
<link rel="apple-touch-icon" sizes="114x114" href="assets/images/favicon/favicon-114.png">
<link rel="apple-touch-icon" sizes="72x72" href="assets/images/favicon/favicon-72.png">
<link rel="apple-touch-icon" sizes="144x144" href="assets/images/favicon/favicon-144.png">
<link rel="apple-touch-icon" sizes="60x60" href="assets/images/favicon/favicon-60.png">
<link rel="apple-touch-icon" sizes="120x120" href="assets/images/favicon/favicon-120.png">
<link rel="apple-touch-icon" sizes="76x76" href="assets/images/favicon/favicon-76.png">
<link rel="apple-touch-icon" sizes="152x152" href="assets/images/favicon/favicon-152.png">
<link rel="apple-touch-icon" sizes="180x180" href="assets/images/favicon/favicon-180.png">
<meta name="msapplication-TileColor" content="#FFFFFF">
<meta name="msapplication-TileImage" content="/assets/images/favicon/favicon-114.png">
<meta name="msapplication-config" content="/assets/images/favicon/browserconfig.xml">
<!-- ****** faviconit.com favicons ****** -->
<link rel="stylesheet" href="assets/css/themes/Cerulean/bootstrap.min.css" media="screen" id="bootstrap-css">
<link rel="stylesheet" href="assets/css/icons/bootstrap-icons_v1.83.css">
<link rel="stylesheet" href="assets/css/bootstrap-datetimepicker.min.css">
<link rel="stylesheet" href="assets/css/bootstrap-dialog.css">
<link rel="stylesheet" href="assets/css/pnotify.custom.min.css" media="all">
<link rel="stylesheet" href="assets/css/animate.min.css" media="screen">
<link rel="stylesheet" href="assets/css/style.css?v=1.13" media="screen">
<script type="text/javascript" src="assets/js/errors.js"></script>
<script type="text/javascript" src="js/jquery-3.5.1.min.js"></script>
<script type="text/javascript" src="assets/js/purify/purify.js"></script>
<script type="text/javascript" src="assets/js/purify/jpurify.js"></script>
<script type="text/javascript" src="js/moment.min.js"></script>
<script type="text/javascript" src="js/transition.js"></script>
<script type="text/javascript" src="js/collapse.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/bootstrap-datetimepicker.min.js"></script>
<script type="text/javascript" src="assets/js/bootstrap-dialog.js"></script>
<script type="text/javascript" src="js/aes-js.js"></script>
<script type="text/javascript" src="js/crypto-min.js"></script>
<script type="text/javascript" src="js/crypto-sha256.js"></script>
<script type="text/javascript" src="js/crypto-sha256-hmac.js"></script>
<script type="text/javascript" src="js/sha512.js"></script>
<script type="text/javascript" src="js/ripemd160.js"></script>
<script type="text/javascript" src="js/aes.js"></script>
<script type="text/javascript" src="js/qrcode.js"></script>
<script type="text/javascript" src="assets/js/html5-qrcode.min.js"></script>
<script type="text/javascript" src="js/jsbn.js"></script>
<script type="text/javascript" src="js/ellipticcurve.js"></script>
<!-- <script type="text/javascript" src="https://wallet.bitbay.market/servers.js?v=1.12"></script> !-->
<script type="text/javascript" src="assets/js/nanobar.js"></script>
<script type="text/javascript" src="js/bip39.js"></script>
<script type="text/javascript" src="js/coin.js?v=1.135"></script>
<script type="text/javascript" src="js/coinbin.js?v=1.135"></script>
<script type="text/javascript" src="assets/js/bootstrap-select.min.js"></script>
<script type="text/javascript" src="assets/js/html5storage/HTML5.sessionStorage.js"></script>
</head>
<body class="loggedout">
<div id="wrap">
<div id="header" class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<ul class="nav navbar-nav navbar-right newmenu">
<li class="dropdown dropdown-modal">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
<span class="menu-icon bi bi-menu-button-fill"></span>
</a>
<ul class="dropdown-menu dropdown-menu-right dropdown-menu-navlist">
<li class="loginhide active wallet_options"><a href="#wallet" data-toggle="tab">Wallet</a></li>
<li class="logouthide">
<a href="#wallet" data-toggle="tab">Wallet
<p class="text-left small walletAddress"></p>
<p class="walletBalance"></p>
</a>
</li>
<li class="logouthide"><a href="#advanced" data-toggle="modal">Advanced</a></li>
<li class="divider-text"></li>
<li><a href="#network" data-toggle="tab">Network</a></li>
<li class="divider-text"></li>
<li class="hidden"><a href="#newAddress" data-toggle="tab">New Address</a></li>
<li><a href="#newTimeLocked" data-toggle="tab">Time Locked Address</a></li>
<li><a href="#newMultiSig" data-toggle="tab">MultiSig Address</a></li>
<li><a href="#newHDaddress" data-toggle="tab">HD Address</a></li>
<li><a href="#newMnemonicaddress" data-toggle="tab">Mnemonic Address</a></li>
<li class="divider-text"></li>
<li><a href="#verify" data-toggle="tab">Verify</a></li>
<li><a href="#newTransaction" data-toggle="tab">Transaction</a></li>
<li><a href="#sign" data-toggle="tab">Sign</a></li>
<li><a href="#broadcast" data-toggle="tab">Broadcast</a></li>
<!-- <li class="divider-text"></li>
<li><a href="#signMsg" data-toggle="tab">Sign Message</a></li>
<li><a href="#verifyMsg" data-toggle="tab">Verify Message</a></li> -->
<li class="divider-text"></li>
<li><a href="#help" data-toggle="tab">Help - F.A.Q. </a></li>
<li class="divider-text logouthide"></li>
<li class="logouthide">
<a class="walletLogout" href="#wallet" role="button" data-destroy="true">Logout</a>
</li>
</ul>
</li>
</ul>
<a href="index.html" class="navbar-brand" id="homeBtn">
<img class="large logouthide" src="assets/images/logo-dark.svg">
<img class="small logouthide" src="assets/images/logo-dark-small.svg">
<img class="loginhide" height="52" src="assets/images/logo.svg" />
</a>
</div>
</div>
</div>
<div id="content" class="container">
<noscript class="alert alert-danger center-block"><i class="bi bi-exclamation-triangle-fill"></i> This page uses javascript, please enable it to continue!</noscript>
<!-- Dynamic Peg stats & Price tracking !-->
<div class="row-no-padding topPanel">
<div class="col-md-12">
<div class="row">
<div class="bs-component">
<div class="col-md-4 col-sm-4 col-xs-12">
<div class="panel panel-default priceTracking">
<div class="panel-body coinPrice">
<p><i class="bi bi-coin"></i> Price (Ratedb - Github )</p>
<div class="coin_price">
<h4><span class="glyphicon glyphicon-repeat glyphicon-spin"></span></h4>
<div class="bayLPrice">
BAY Liquid:
<p class="price_track"></p>
</div>
<div class="bayRPrice hidden">
BAY Reserve:
<p class="price_track"></p>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-4 col-sm-4 col-xs-6">
<div class="panel panel-default">
<div class="panel-body pegIndex">
<h4 title="Peg index: seems to go up lately..."><i class="bi bi-speedometer2"></i> <span class="currentPegIndex"><span class="glyphicon glyphicon-repeat glyphicon-spin"></span></span> <i class="bi bi-arrow-right-short"></i></h4>
<p class="nextPegIndex">Next Peg index is 0</p>
</div>
</div>
</div>
<div class="col-md-4 col-sm-4 col-xs-6">
<div class="panel panel-default">
<div class="panel-body accountInfo">
<h4><i class="bi bi-person-fill"></i> <span class="walletAddress"></span> <a href="#wallet" class="walletLogout logouthide" role="button" data-destroy="true"><i title="Logout" class="bi bi-box-arrow-left hide logoutIcon"></i> </a> </h4>
<p><span class="walletBalance"><a href="#wallet" data-toggle="tab">You are not logged in</a></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="tab-content">
<div class="tab-pane tab-content active" id="wallet">
<!-- BitBay Logo
<div class="row justify-content-center">
<div class="col-md-6 d-flex justify-content-center">
<div class="login-container text-center">
<div class="bitbay-logo"><img src="assets/images/bitbay-logo-medium.png" alt="BitBay Logo"></div>
</div>
</div>
</div
!-->
<!-- Login Multistep Wizard Box!-->
<div class="row flex justify-content-center loginhide">
<div class="col-md-6 login-container">
<div class="box box-without-top-border">
<div class="box-header text-center">
<h3 class="box-title no-border hide">Connect!</h3>
<div class="bitbay-logo"><a href="index.html"><img src="assets/images/bitbay-logo-medium.png" alt="BitBay Logo"></a></div>
</div>
<!-- /.box-header -->
<div class="box-body">
<!--
<div class="btn-group dropup">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
11
</button>
<ul class="dropdown-menu" role="menu">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li class="divider"></li>
<li><a href="#">Separated link</a></li>
</ul>
</div>
<div class="btn-group dropup">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
a
</button>
<ul class="dropdown-menu" role="menu">
<li><a href="#">Our Story</a></li>
<li><a href="#">Our Team</a></li>
</ul>
</div>
<div class="btn-group dropup">
<button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="bi bi-menu-button-fill"></i>
</button>
<ul class="dropdown-menu dropdown-menu-right">
<li><a href="#">Our Story</a></li>
<li><a href="#">Our Team</a></li>
<li><a href="#">Contact Us</a></li>
</ul>
</div>
-->
<!-- Back button !-->
<a href="#wallet" class="btn btn-default hide m-l-1 " id="multistep-wizard-reset">← Back</a>
<!-- Login Options & Login Navigation !-->
<section class="login-box multistep_progress_bar" data-wallet-login-multistep-wizard="options">
<div href="" data-multistep-wizard-step="2" class="callout callout-no-border callout-hover no-bottom-border-radius no-bottom-margin cursor-pointer p-2">
<div class="d-flex">
<div class="logo-wallet-icon d-flex align-self-center"><i class="bi bi-wallet-fill"></i></div>
<div class="d-flex flex-column text-left align-self-center p-l-1">
<span class="font-heading font-semibold">Regular Wallet</span>
<span class="font-body-small text-gray">Connect using browser wallet</span>
</div>
<i class="bi bi-caret-right-fill align-self-center font-gray ml-auto"></i>
</div>
</div>
<div data-multistep-wizard-step="3" class="callout callout-no-border callout-hover no-top-margin no-bottom-margin no-bottom-border-radius no-top-border-radius no-border-radius cursor-pointer p-2">
<div class="d-flex">
<div class="logo-wallet-icon d-flex align-self-center"><i class="bi bi-wallet-fill"></i></div>
<div class="d-flex flex-column text-left align-self-center p-l-1">
<span class="font-heading font-semibold">Multisignature Wallet</span>
<span class="font-body-small text-gray">2-of-2 Wallet Address!</span>
</div>
<i class="bi bi-caret-right-fill align-self-center font-gray ml-auto"></i>
</div>
</div>
<div data-multistep-wizard-step="4" class="callout callout-no-border callout-hover no-top-margin no-bottom-margin no-bottom-border-radius no-top-border-radius no-border-radius cursor-pointer p-2">
<div class="d-flex">
<div class="logo-wallet-icon d-flex align-self-center"><i class="bi bi-key-fill"></i></div>
<div class="d-flex flex-column text-left align-self-center p-l-1">
<span class="font-heading font-semibold">Login with Private Key</span>
<span class="font-body-small text-gray">Connect using private key!</span>
</div>
<i class="bi bi-caret-right-fill align-self-center font-gray ml-auto"></i>
</div>
</div>
<div data-multistep-wizard-step="5" class="callout callout-no-border callout-hover no-top-margin no-bottom-margin no-top-border-radius cursor-pointer p-2">
<div class="d-flex">
<div class="logo-wallet-icon d-flex align-self-center"><i class="bi bi-upload"></i></div>
<div class="d-flex flex-column text-left align-self-center p-l-1">
<span class="font-heading font-semibold">Import Wallet</span>
<span class="font-body-small text-gray">Import your wallet backup!</span>
</div>
<i class="bi bi-caret-right-fill align-self-center font-gray ml-auto"></i>
</div>
</div>
</section>
<!-- Regular Wallet -->
<section class="login-box hide" data-wallet-login-multistep-wizard="regular_multisig">
<div class="walletLogin">
<div class="callout callout-no-border m-1">
<form name="form-signin-password" id="form-signin-password" class="form-signin-password" role="form" action="javascript:;" autocomplete="off">
<div class="form-wallettype">
<a id="regularwallet" class="active" href="#">Regular</a>
<a id="multisigwallet" href="#">Multi-sig</a>
</div>
<div class="form-group form-openWalletType">
Wallet type:
<select class="form-control" id="openWalletType">
<option value="regular" selected="selected">Regular</option>
<option value="multisig">Multisig 2-of-2</option>
</select>
</div>
<!--
<div class="form-group form-openWalletTypeText">
Regular Wallet
</div>
m-of-n multisig login, deprecated for now
<div class="form-group ">
<select id="multisigWalletMnumber">
<option>1</option>
<option selected>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>
<option>11</option>
<option>12</option>
<option>13</option>
<option>14</option>
<option>15</option>
<option>16</option>
</select>
<select id="multisigWalletNnumber">
<option>1</option>
<option selected>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>
<option>11</option>
<option>12</option>
<option>13</option>
<option>14</option>
<option>15</option>
<option>16</option>
</select>
</div>
-->
<div class="form-group form-email">
<input id="openEmail" name="openEmail" type="email" class="form-control confirm-email" placeholder="Email Address" required autofocus>
</div>
<div class="form-group form-email-confirm">
<input id="openEmail-confirm" name="openEmail-confirm" type="email" class="form-control confirm-input" placeholder="Email Address Confirm" confirm="#openEmail">
</div>
<div class="form-group input-group form-password">
<input id="openPass" name="openPass" type="password" class="form-control" placeholder="Password" required>
<span class="input-group-btn">
<button class="showKey btn btn-default" type="button">Show</button>
</span>
</div>
<div class="form-group input-group form-password-confirm">
<input id="openPass-confirm" name="openPass-confirm" type="password" class="form-control confirm-input" placeholder="Password Confirm" confirm="#openPass">
<span class="input-group-btn">
<button class="showKey btn btn-default" type="button">Show</button>
</span>
</div>
<div class="form-group input-group form-password2 hidden">
<input id="openPass2" name="openPass" type="password" class="form-control" placeholder="Password2">
<span class="input-group-btn">
<button class="showKey btn btn-default" type="button">Show</button>
</span>
</div>
<div class="form-group input-group form-password2-confirm hidden">
<input id="openPass2-confirm" name="openPass-confirm" type="password" class="form-control confirm-input" placeholder="Password2 Confirm" confirm="#openPass2">
<span class="input-group-btn">
<button class="showKey btn btn-default" type="button">Show</button>
</span>
</div>
</form>
</div>
<div class="callout callout-no-border m-1">
<div class="form-group">
<div class="alert alert-danger hidden walletLoginStatus"><i class="bi bi-exclamation-triangle-fill"></i> </div>
</div>
<div class="form-group form-confirm-pass checkbox">
<label for="confirmPass">
<input id="confirmPass" type="checkbox" checked> Display email and password confirmation fields (recommended)</label>
</div>
<div class="form-group form-accept checkbox">
<p class="alert alert-danger">No email/password is stored on our server. If you forget your email or password it CANNOT be recovered! You can print/backup your wallet after you login.</p>
<label>
<input class="acceptTerms" id="acceptTermsCheckbox" type="checkbox"> I have read the <a href="#disclaimer" role="button" class="btn-flat" data-toggle="modal">disclaimer</a> and have stored my login information
</label>
</div>
<div class="form-group">
<span class="button-checkbox checkbox">
<label>
<input class="loginRemember" type="checkbox">Stay Logged in (until browser tab closes)</label>
<button type="button" class="btn-flat hidden" data-color="info">Remember Me</button>
<select class="form-control hide rememberMe" id="rememberMe">
<option value="false" selected="selected">No</option>
<option value="true">Yes</option>
</select>
</span>
</div>
<div class="form-group form-submit">
<input type="submit" class="btn-flatbay btn-flatbay-inactive loginButton" value="Load/Create Wallet">
</div>
</div>
</div>
</section>
<section class="callout callout-no-border m-1 login-box hide" data-wallet-login-multistep-wizard="empty">
</section>
<!-- Multisig Wallet -->
<section class="login-box hide" data-wallet-login-multistep-wizard="private_key">
<div class="callout callout-no-border m-1">
<div class="form-group input-group">
<span class="input-group-btn">
<button class="input-group-btn-icon btn btn-default" type="button"><i class="bi bi-key-fill"></i></button>
</span>
<input name="openPrivateKey" type="password" class="form-control" placeholder="Private Key 1" required>
<span class="input-group-btn">
<button class="showKey btn btn-default" type="button">Show</button>
</span>
</div>
<div class="form-group input-group hidden">
<span class="input-group-btn">
<button class="input-group-btn-icon btn btn-default" type="button"><i class="bi bi-key-fill"></i></button>
</span>
<input name="openPrivateKey" type="password" class="form-control" placeholder="Private Key 2">
<span class="input-group-btn">
<button class="showKey btn btn-default" type="button">Show</button>
</span>
</div>
<button id="loginExtraPrivateKey" type="button" class="btn btn-default btn-block">+ Add second private key <i class="bi bi-key-fill"></i> </button>
</div>
<div class="callout callout-no-border m-1">
<div class="form-group">
<div class="alert alert-danger hidden walletLoginStatus"><i class="bi bi-exclamation-triangle-fill"></i></div>
</div>
<div class="form-group form-accept checkbox">
<p class="alert alert-danger">No data is stored on our server. If you forget your private key it CANNOT be recovered! You can print/backup your wallet after you login.</p>
<label>
<input class="acceptTerms" id="acceptTermsCheckbox" type="checkbox"> I have read the <a href="#disclaimer" role="button" class="btn-flat" data-toggle="modal">disclaimer</a>
</label>
</div>
<div class="form-group">
<span class="button-checkbox checkbox">
<label >
<input class="loginRemember" type="checkbox">Stay Logged in (until browser tab closes)</label>
<button type="button" class="btn-flat hidden" data-color="info">Remember Me</button>
<select class="form-control hide rememberMe" name="rememberMe">
<option value="false" selected="selected">No</option>
<option value="true">Yes</option>
</select>
</span>
</div>
<div class="form-group form-submit">
<input id="openBtnPrivateKey" type="submit" class="btn-flatbay btn-flatbay-inactive" value="Load/Create Wallet">
</div>
</div>
</section>
<section class="login-box hide" data-wallet-login-multistep-wizard="import_wallet">
<!-- Drag & Drop Backup File -->
<div class="callout callout-no-border m-1">
<div class="form-group file-drop-area importfile1">
<span class="fake-btn">Import File (Private Key 1) <i class="bi bi-key-fill"></i></span>
<span class="file-msg">or drag and drop the file here</span>
<input class="file-input" type="file">
</div>
<div class="form-group file-drop-area hidden importfile2">
<span class="fake-btn">Import File (Private Key 2) <i class="bi bi-key-fill"></i></span>
<span class="file-msg">or drag and drop the file here</span>
<input class="file-input" type="file">
</div>
<button id="loginExtraImportFile" type="button" class="btn btn-default btn-block">+ Add second import file <i class="bi bi-key-fill"></i> </button>
</div>
<div class="callout callout-no-border m-1">
<div class="form-group">
<div class="alert alert-danger hidden walletLoginStatus"><i class="bi bi-exclamation-triangle-fill"></i></div>
</div>
<div class="form-group form-accept checkbox">
<p class="alert alert-danger">No Data is stored in our server!</p>
<label>
<input class="acceptTerms" id="acceptTermsCheckbox" type="checkbox"> I have read the <a href="#disclaimer" role="button" class="btn-flat" data-toggle="modal">disclaimer</a>
</label>
</div>
<div class="form-group">
<span class="button-checkbox checkbox">
<label >
<input class="loginRemember" type="checkbox">Stay Logged in (until browser tab closes)</label>
<button type="button" class="btn-flat hidden" data-color="info">Remember Me</button>
<select class="form-control hide rememberMe" name="rememberMe">
<option value="false" selected="selected">No</option>
<option value="true">Yes</option>
</select>
</span>
</div>
<div class="form-group form-submit">
<input id="openBtnImportWallet" type="submit" class="btn-flatbay btn-flatbay-inactive" value="Load/Create Wallet">
</div>
</div>
</section>
</div>
<!-- /.box-body -->
<div class="box-footer text-center">
Bitbay Web Wallet <span class="walletVersion"></span>
</div>
<!-- /.box-footer -->
</div>
</div>
</div>
<!-- Old Login !-->
<div class="row">
<div class="col-md-12">
<!-- User Wallet !-->
<div id="openWallet" class="hidden">
<!--
<div class="row publicKeySortNotification hidden">
<div class="col-md-12">
<div class="row">
<div class="callout callout-danger no-margin">
<h4>Important notification!</h4>
Your 2 private keys can generate 2 multisig addresses. <br>
BitBay Client wallet is using sorted public keys for addresses. If you want to import your wallet to BitBay Client wallet then they need to be sorted.
<hr>
<div class="publicKeyIsSorted hidden">
<div class="alert alert-success">
You can import this address to BitBay Client wallet!
</div>
</div>
<div class="publicKeyIsUnSorted hidden">
<div class="alert alert-warning">
This address has unsorted public keys and can not be used with BitBay Client wallet, however it is still valid.
</div>
</div>
<hr>
Notice that you can always switch your public keys order and have access to both addresses.<br>
<button class="btn btn-default switchAddress">Switch address</button>
<button class="btn btn-default toggleTheme">Toggle Theme</button>
</div>
</div>
</div>
</div>
-->
<div class="row">
<!-- Wallet Panel -->
<div class="">
<!-- Wallet User Panel -->
<div class="col-md-12">
<div class="col-md-8">
<div class="bs-component">
<ul class="nav nav-tabs">
<li class="hidden">
<a data-toggle="tab" href="#walletInfo">Wallet Info</a>
</li>
<li class="active">
<a data-toggle="tab" href="#walletSpendTab">Send</a>
</li>
<li>
<a data-toggle="tab" href="#walletKeysTab">Receive</a>
</li>
<li class="">
<a data-toggle="tab" href="#walletBackup">Wallet Backup</a>
</li>
</ul>
<div class="tab-content box box-without-top-border" id="WalletTabContent">
<div class="tab-pane fade" id="walletBackup">
<div class="backuptext">
The following information can be used to recover your account and funds. You can manually copy them or print them and store them in a safe place.
<span class="warning">Do not share them with anyone as it provides access to your wallet and therefore your funds.</span>
</div>
<div class="backupfunctions">
<a href="#print" id="print" class="ul">Print Wallet Information <i class="bi bi-printer-fill"></i></a>
<br>
</div>
<div id="printArea" class="hidden">
in here will populate with wallet info
</div>
<div id="walletKeys">
<div class="share-no">
<label>Private key - WIF key (Private - Don't share)</label>
<div class="input-group ">
<input class="form-control privkey" type="password" readonly>
<span class="input-group-btn">
<button class="showKey btn btn-default" type="button">Show</button>
</span>
</div>
<div class="input-group wallet_multisig_keys">
<input class="form-control privkey2" type="password" readonly>
<span class="input-group-btn">
<button class="showKey btn btn-default" type="button">Show</button>
</span>
</div>
<!--
<label class="wallet_maybe_multisig_keys hide">AES-256 Encrypted WIF key (Private - Don't share)</label>
<div class="input-group wallet_maybe_multisig_keys hide">
<input class="form-control privkeyaes" type="password" readonly>
<span class="input-group-btn">
<button class="showKey btn btn-default" type="button">Show</button>
</span>
</div>
<div class="input-group wallet_multisig_keys wallet_maybe_multisig_keys hide">
<input class="form-control privkeyaes2" type="password" readonly>
<span class="input-group-btn">
<button class="showKey btn btn-default" type="button">Show</button>
</span>
</div>
-->
</div>
</div>
<div class="walletnotice">
<p class="text-muted">This page uses javascript to generate your addresses and sign your transactions within your browser, this means we <i>never</i> receive your private keys, this can be independently verified by reviewing the source code on <a href="https://github.com/bitbaymarket/web-wallet" target="_blank">github</a>.</p>
</div>
</div>
<div class="tab-pane fade active in" id="walletSpendTab">
<div id="walletSpend">
<div class="row checkbox" id="walletSpendType">
<label for="walletSpendTypeLiquid">
<input id="walletSpendTypeLiquid" class="walletSpendRadioButton" name="walletSpendTypeName" type="radio" checked=true /> Send Liquidity (<span class="amountCoinSymbol"></span>)</label>
<label for="walletSpendTypeReserve">
<input id="walletSpendTypeReserve" class="walletSpendRadioButton" name="walletSpendTypeName" type="radio" /> Send Reserve (<span class="amountCoinSymbol"></span>R) <em>(1 month Timelock)</em></label>
<br/>
</div>
<div class="row" id="walletSpendTo">
<div class="form-horizontal output">
<div class="col-sm-7">
<label>Address</label>
<div class="input-group">
<input class="form-control addressTo" data-original-title="" title="Address to send to" type="text">
<span class="input-group-btn">
<button class="btn btn-info2 qrcodeScanner" type="button" data-toggle="modal" data-target="#modalQrcodeScanner" >
<i class="bi bi-camera-fill"></i></button>
</span>
</div>
</div>
<div class="col-sm-4">
<label>Amount</label>
<div class="input-group">
<input class="form-control form-control-div amount" data-original-title="" placeholder="0.00000000" title="Amount to send" type="text"><span class="input-group-addon amountCoinSymbol">Coin</span>
</div>
</div><a class="addressAdd" href="javascript:;" title="Add recipient's address" data-toggle="tooltip"><i class="bi bi-plus"></i></span></a>
<br>
<br>
</div>
</div>
<div class="row">
<div class="col-sm-7">
<label>Transaction Fee</label>
<div class="input-group">
<input class="form-control form-control-div" id="txFee" placeholder="0.00000000" type="text" value="0.002" title="The amount to pay in network miner fees - 0.002 or more recommended">
<span class="input-group-addon amountCoinSymbol">Coin</span>
</div>
</div>
<div class="col-sm-4">
<label>BitBay Development Fund <i class="bi bi-suit-heart-fill"></i></label>
<div class="input-group">
<input class="form-control form-control-div" id="developerDonation" placeholder="0.00000000" type="text" value="0" title="The amount to donate to the BitBay Development Fund">
<span class="input-group-addon amountCoinSymbol">Coin</span>
</div>
</div>
</div>
<br>
<div class="alert alert-danger hidden" id="walletSendStatus"></div>
<div class="form-send-buttons">
<button class="btn-flatbay btn-flatbay-inactive" id="walletSendBtn" type="button">Send</button>
<button class="btn-flat-purple" id="walletSendReset" type="button">Reset</button>
</div>
</div>
</div>
<div class="tab-pane fade walletPubKeys" id="walletKeysTab">
<label>Address (Share)</label>
<div class="input-group" data-original-title="" title="">
<input type="text" class="form-control address can-copy">
<span class="input-group-btn" data-original-title="" title="">
<button class="btn btn-default copy-input" type="button" >Copy</button>
</span>
</div>
<label class="wallet_multisig_keys">RedeemScript (Share)</label>
<div class="input-group" data-original-title="" title="">
<input type="text" class="form-control can-copy redeemScript_wallet wallet_multisig_keys">
<span class="input-group-btn" data-original-title="" title="">
<button class="btn btn-default copy-input" type="button" >Copy</button>
</span>
</div>
<label class="wallet_maybe_multisig_keys">Public key (Share)</label>
<div class="input-group" data-original-title="" title="">
<input type="text" class="form-control pubkey wallet_maybe_multisig_keys can-copy">
<span class="input-group-btn" data-original-title="" title="">
<button class="btn btn-default copy-input" type="button" >Copy</button>
</span>
</div>
<div class="input-group" data-original-title="" title="">
<input type="text" class="form-control pubkey2 wallet_multisig_keys wallet_maybe_multisig_keys can-copy">
<span class="input-group-btn" data-original-title="" title="">
<button class="btn btn-default copy-input" type="button" >Copy</button>
</span>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="bs-component panel-right">
<!-- QR Code -->
<div class="panel panel-default box box-without-top-border panel-qrcode">
<div class="panel-heading">
<label>Your Address:</label>
</div>
<div class="panel-body text-center ">
<div id="walletQrCode"></div>
<hr>
<span class="hide" id="walletAddress"></span>
<a href="#" id="walletAddressExplorer" target="_blank"></a>
</div>
</div>
<!-- Balance & Pie Chart -->
<div class="panel panel-default panel-balance box box-without-top-border">
<div class="panel-body">
<div class="balanceLabel">
<label>Total Balance:</label>
<br>
<a href="javascript:;" id="walletBalance" class="walletBalance fade in">0.00</a>
<span class="hidden" id="walletLoader"><span class="glyphicon glyphicon-repeat glyphicon-spin"></span></span>
</div>
<hr>
<!-- Dynamic Peg Pie Chart-->
<div id="pieChart" class="chart"></div>
<!-- Pure CSS chart, I let it be here just in case! -->
<div id="pieBalance" class="pie-chart-CSS" style="--chartsize: 250px" data-values="[33,33,33]"></div>
<div class="balanceLabel">
<span class="pie-legend-item-color"></span>
<label>Liquidity:</label>
<br>
<a href="javascript:;" id="walletBalanceLiquid" class="walletBalanceLiquid">0.00</a>
</div>
<div class="balanceLabel">
<span class="pie-legend-item-color"></span>
<label>Reserve:</label>
<br>
<a href="javascript:;" id="walletBalanceReserve" class="walletBalanceReserve">0.00</a>
</div>
<div class="balanceLabel">
<span class="pie-legend-item-color"></span>
<label>Frozen:</label>
<br>
<a href="javascript:;" id="walletBalanceFrozen" class="walletBalanceFrozen">0.00</a>
</div>
<hr>
<a href="javascript:;" id="walletHistory" target="_blank">History</a>
</div>
</div>
</div>
</div>
<!-- Wallet Unspend UTXO Wallet-->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="tab-pane tab-content" id="newAddress">
<h2>New Address <small>create a new address</small></h2>
<p>Any keys used you will need to manually store safely as they will be needed later to redeem the $BAY.</p>
<label>Address (Share)</label>
<div class="input-group">
<input id="newBitcoinAddress" type="text" class="form-control address" value="" readonly>
<span class="input-group-btn">
<button class="qrcodeBtn btn btn-default" type="button" data-toggle="modal" data-target="#modalQrcode"><span class="glyphicon glyphicon-qrcode"></span></button>
</span>
</div>
<label>Public key (Share)</label>
<input id="newPubKey" type="text" class="form-control" readonly>
<label>Private key (WIF key)</label>
<div class="input-group">
<input id="newPrivKey" type="password" class="form-control" value="" readonly>
<span class="input-group-btn">
<button class="showKey btn btn-default" type="button">Show</button>
</span>
</div>
<div id="aes256wifkey" class="hidden">
<label>AES-256 Encrypted WIF key</label>
<input id="newPrivKeyEnc" type="text" class="form-control" value="" readonly>
</div>
<h3>Address Options</h3>
<p>You can use the advanced options below to generate different kind of keys and addresses.</p>
<div class="checkbox">
<label>
<input type="checkbox" id="newCompressed" class="checkbox-inline" checked> Compress <span class="text-muted">(recommended)</span></label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" id="newBrainwalletCheck" class="checkbox-inline"> Custom Seed or Brain Wallet</label>
<div class="input-group" data-original-title="" title="">
<input type="text" class="form-control hidden" id="brainwallet">
<span class="input-group-btn hidden" data-original-title="" title="">
<button class="btn btn-default generatePassword" type="button" data-input-for="brainwallet" data-original-title="" title="">Generate Password</button>
</span>
</div>
</div>
<div class="checkbox">
<label>
<input type="checkbox" id="encryptKey" class="checkbox-inline"> Encrypt Private Key with AES-256 Password</label>
<div id="aes256passform" class="row hidden">
<div class="col-md-6">
<input type="password" class="form-control" id="aes256pass" placeholder="Password">
</div>
<div class="col-md-6">
<input type="password" class="form-control" id="aes256pass_confirm" placeholder="Confirm Password">
</div>
</div>
<div id="aes256passStatus" class="row hidden">
<div class="col-md-12">
<br>
<div class="alert alert-danger"> <span class="glyphicon glyphicon-exclamation-sign"></span> Your passwords do not match, please try again!</div>
</div>
</div>
</div>
<input type="button" class="btn-flatbay" value="Generate" id="newKeysBtn">
<br>
</div>
<div class="tab-pane tab-content" id="newSegWit">
<h2>New SegWit Address <small> Smaller & Faster Transactions</small></h2>
<p>Any keys used you will need to manually store safely as they will be needed later to redeem the $BAY.</p>
<label>SegWit Address (Share)</label>