-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcx-wallet.html
3538 lines (2914 loc) · 161 KB
/
cx-wallet.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" ng-app="mewApp">
<head>
<meta charset="utf-8">
<title>ClassicEtherWallet: Client-Side Classic Ether Wallet</title>
<link rel="canonical" href="https://classicetherwallet.com" />
<meta name="description" content="ClassicEtherWallet.com is a free, open-source, client-side interface for generating Ethereum wallets & more. Interact with the Ethereum blockchain easily & securely. Double-check the URL ( .com ) before unlocking your wallet.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/etherwallet-master.min.css">
<script type="text/javascript" src="js/etherwallet-static.min.js"></script>
<script type="text/javascript" src="js/etherwallet-master.js"></script>
<link rel="shortcut icon" href="images/fav/favicon.png">
<meta name="apple-mobile-web-app-title" content="ClassicEtherWallet">
<meta name="application-name" content="ClassicEtherWallet">
<meta name="theme-color" content="#1d6986">
<meta property="og:url" content="https://classicetherwallet.com" />
<meta property="og:title" content="ClassicEtherWallet.com" />
<meta property="og:image" content="/images/myetherwallet-logo-banner.png" />
<meta property="og:image" content="/images/myetherwallet-logo.png" />
<meta property="og:image" content="/images/myetherwallet-logo-square.png" />
<meta property="og:image" content="/images/myetherwallet-banner-fun.jpg" />
<meta property="og:description" content="ClassicEtherWallet.com is a free, open-source, client-side interface for generating Ethereum wallets & more. Interact with the Ethereum blockchain easily & securely. Double-check the URL ( .com ) before unlocking your wallet." />
<script type='application/ld+json'>{"@context":"http://schema.org","@type":"Organization","@id":"#organization","url":"https://www.myetherwallet.com/","name":"MyEtherWallet",
"logo":"https://myetherwallet.com/images/myetherwallet-logo-banner.png","description": "MyEtherWallet.com is a free, open-source, client-side interface for generating Ethereum wallets & more. Interact with the Ethereum blockchain easily & securely. Double-check the URL ( .com ) before unlocking your wallet.","sameAs":["https://www.myetherwallet.com/","https://chrome.google.com/webstore/detail/myetherwallet-cx/nlbmnnijcnlegkjjpcfjclmcfggfefdm","https://www.facebook.com/MyEtherWallet/","https://twitter.com/myetherwallet","https://medium.com/@myetherwallet_96408","https://myetherwallet.groovehq.com/help_center","https://github.com/kvhnuke/etherwallet","https://github.com/MyEtherWallet","https://kvhnuke.github.io/etherwallet/","https://github.com/kvhnuke/etherwallet/releases/latest","https://github.com/409H/EtherAddressLookup","https://myetherwallet.slack.com/","https://myetherwallet.herokuapp.com/","https://www.reddit.com/r/MyEtherWallet/","https://www.reddit.com/user/insomniasexx/","https://www.reddit.com/user/kvhnuke/","https://www.reddit.com/user/myetherwallet"]}</script>
</head>
<body>
<header class="{{curNode.name}} {{curNode.service}} {{curNode.service}} nav-index-{{gService.currentTab}}" aria-label="header" ng-controller='tabsCtrl' >
<div class="small announcement annoucement-danger">
<div class="container" translate="CX_Warning_1">Make sure you have <strong>external backups</strong> of any wallets you store here. Many things could happen that would cause you to lose the data in this Chrome Extension, including uninstalling the extension. This extension is a way to easily access your wallets, <strong>not</strong> a way to back them up.
</div>
</div>
<section class="bg-gradient header-branding">
<section class="container">
<a class="brand" href="/cx-wallet.html" aria-label="Go to homepage">
<img src="images/logo-myetherwallet.png" height="64px" width="245px" alt="MyEtherWallet" />
</a>
<div class="tagline">
<span>3.11.0.0</span>
<span class="dropdown dropdown-lang" ng-cloak>
<a tabindex="0" aria-haspopup="true" aria-expanded="false" aria-label="change language. current language {{curLang}}" class="dropdown-toggle btn btn-white" ng-click="dropdown = !dropdown">{{curLang}}<i class="caret"></i></a>
<ul class="dropdown-menu" ng-show="dropdown">
<li><a ng-class="{true:'active'}[curLang=='Deutsch']" ng-click="changeLanguage('de','Deutsch' )"> Deutsch </a></li>
<li><a ng-class="{true:'active'}[curLang=='Ελληνικά']" ng-click="changeLanguage('el','Ελληνικά' )"> Ελληνικά </a></li>
<li><a ng-class="{true:'active'}[curLang=='English']" ng-click="changeLanguage('en','English' )"> English </a></li>
<li><a ng-class="{true:'active'}[curLang=='Español']" ng-click="changeLanguage('es','Español' )"> Español </a></li>
<li><a ng-class="{true:'active'}[curLang=='Suomi']" ng-click="changeLanguage('fi','Suomi' )"> Suomi </a></li>
<li><a ng-class="{true:'active'}[curLang=='Français']" ng-click="changeLanguage('fr','Français' )"> Français </a></li>
<li><a ng-class="{true:'active'}[curLang=='Magyar']" ng-click="changeLanguage('hu','Magyar' )"> Magyar </a></li>
<li><a ng-class="{true:'active'}[curLang=='Indonesian']" ng-click="changeLanguage('id','Indonesian' )"> Bahasa Indonesia</a></li>
<li><a ng-class="{true:'active'}[curLang=='Italiano']" ng-click="changeLanguage('it','Italiano' )"> Italiano </a></li>
<li><a ng-class="{true:'active'}[curLang=='日本語']" ng-click="changeLanguage('ja','日本語' )"> 日本語 </a></li>
<li><a ng-class="{true:'active'}[curLang=='한국어']" ng-click="changeLanguage('ko','한국어' )"> 한국어 </a></li>
<li><a ng-class="{true:'active'}[curLang=='Nederlands']" ng-click="changeLanguage('nl','Nederlands' )"> Nederlands </a></li>
<li><a ng-class="{true:'active'}[curLang=='Norsk Bokmål']" ng-click="changeLanguage('no','Norsk Bokmål')"> Norsk Bokmål </a></li>
<li><a ng-class="{true:'active'}[curLang=='Polski']" ng-click="changeLanguage('pl','Polski' )"> Polski </a></li>
<li><a ng-class="{true:'active'}[curLang=='Português']" ng-click="changeLanguage('pt','Português' )"> Português </a></li>
<li><a ng-class="{true:'active'}[curLang=='Русский']" ng-click="changeLanguage('ru','Русский' )"> Русский </a></li>
<!--<li><a ng-class="{true:'active'}[curLang=='Slovenčina']" ng-click="changeLanguage('sk','Slovenčina' )"> Slovenčina </a></li>-->
<!--<li><a ng-class="{true:'active'}[curLang=='Slovenščina']" ng-click="changeLanguage('sl','Slovenščina' )"> Slovenščina </a></li>-->
<!--<li><a ng-class="{true:'active'}[curLang=='Svenska']" ng-click="changeLanguage('sv','Svenska' )"> Svenska </a></li>-->
<li><a ng-class="{true:'active'}[curLang=='Türkçe']" ng-click="changeLanguage('tr','Türkçe' )"> Türkçe </a></li>
<li><a ng-class="{true:'active'}[curLang=='Tiếng Việt']" ng-click="changeLanguage('vi','Tiếng Việt' )"> Tiếng Việt </a></li>
<li><a ng-class="{true:'active'}[curLang=='简体中文']" ng-click="changeLanguage('zhcn','简体中文' )"> 简体中文 </a></li>
<li><a ng-class="{true:'active'}[curLang=='繁體中文']" ng-click="changeLanguage('zhtw','繁體中文' )"> 繁體中文 </a></li>
<li role="separator" class="divider"></li>
<li><a data-toggle="modal" data-target="#disclaimerModal" translate="FOOTER_4"> Disclaimer </a></li>
</ul>
</span>
<span class="dropdown dropdown-gas" ng-cloak>
<a tabindex="0" aria-haspopup="true" aria-label="adjust gas price" class="dropdown-toggle btn btn-white" ng-click="dropdownGasPrice = !dropdownGasPrice">
<span translate="OFFLINE_Step2_Label_3">Gas Price</span>: {{gas.value}} Gwei
<i class="caret"></i>
</a>
<ul class="dropdown-menu" ng-show="dropdownGasPrice">
<div class="header--gas">
<span translate="OFFLINE_Step2_Label_3">Gas Price</span>: <input type="number" ng-model="gas.value" value="{{gas.value}}" min="{{gas.min}}" max="{{gas.max}}" step="{{gas.step}}" ng-change="gasChanged()" /> Gwei
<p class="small col-xs-4 text-left"><{{recommendedGas.low}}</p>
<p class="small col-xs-4 text-center">{{recommendedGas.low}} - {{recommendedGas.high}}</p>
<p class="small col-xs-4 text-right">>{{recommendedGas.high}}</p>
<p class="small col-xs-4 text-left">Not So Fast</p>
<p class="small col-xs-4 text-center">Fast</p>
<p class="small col-xs-4 text-right">Fast AF</p>
<p class="small" style="white-space:normal;font-weight:300;margin: 2rem 0 0;" translate="GAS_PRICE_Desc"></p>
<a class="small" translate="x_ReadMore" href="https://myetherwallet.groovehq.com/knowledge_base/topics/what-is-gas" target="_blank" rel="noopener"></a>
</div>
</ul>
</span>
<!-- Warning: The separators you see on the frontend are in styles/etherwallet-custom.less. If you add / change a node, you have to adjust these. Ping tayvano if you're not a CSS wizard -->
<span class="dropdown dropdown-node" ng-cloak>
<a tabindex="0" aria-haspopup="true" aria-label="change node. current node {{curNode.name}} node by {{curNode.service}}" class="dropdown-toggle btn btn-white" ng-click="dropdownNode = !dropdownNode">
Network: {{curNode.name}} <small>({{curNode.service}})</small>
<i class="caret"></i>
</a>
<ul class="dropdown-menu" ng-show="dropdownNode">
<li ng-repeat="(key, value) in nodeList"><a ng-class="{true:'active'}[curNode == key]" ng-click="changeNode(key)">
{{value.name}}
<small> ({{value.service}}) </small>
<img ng-show="value.service=='Custom'" src="images/icon-remove.svg" class="node-remove" title="Remove Custom Node" ng-click="removeNodeFromLocal(value.name)"/>
</a></li>
<li><a ng-click="customNodeModal.open(); dropdownNode = !dropdownNode;"> Add Custom Node </a></li>
</ul>
</span>
</div>
</section>
</section>
<nav role="navigation" aria-label="main navigation" class="container nav-container overflowing" >
<a aria-hidden="true" ng-show="showLeftArrow" class="nav-arrow-left" ng-click="scrollLeft(100);" ng-mouseover="scrollHoverIn(true,2);" ng-mouseleave="scrollHoverOut()">«</a>
<div class="nav-scroll">
<ul class="nav-inner">
<li ng-repeat="tab in tabNames track by $index" class="nav-item {{tab.name}}" ng-class="{active: $index==gService.currentTab}" ng-show="tab.cx" ng-click="tabClick($index)"> <a tabindex="0" aria-label="nav item: {{tab.name | translate}}" translate="{{tab.name}}"></a></li>
<li class="nav-item help"><a href="https://myetherwallet.groovehq.com/help_center" target="_blank" rel="noopener">Help</a></li>
</ul>
</div>
<a aria-hidden="true" ng-show="showRightArrow" class="nav-arrow-right" ng-click="scrollRight(100);" ng-mouseover="scrollHoverIn(false,2);" ng-mouseleave="scrollHoverOut()">»</a>
</nav>
<article class="modal fade" id="customNodeModal" tabindex="-1">
<section class="modal-dialog">
<section class="modal-content">
<div class="modal-body">
<button type="button" class="close" data-dismiss="modal">×</button>
<h2 class="modal-title text-info" translate="NODE_Title"> Set Up Your Custom Node </h2>
<p class="small"><a href="https://myetherwallet.groovehq.com/knowledge_base/topics/how-can-i-connect-to-a-custom-node" target="_blank" rel="noopener"> Instructions can be found here </a></p>
<div ng-show="browserProtocol=='https:'" class="alert alert-danger small" translate="NODE_Warning">
Your node must be HTTPS in order to connect to it via ClassicEtherWallet.com. You can [download the ClassicEtherWallet repo & run it locally](https://github.com/kvhnuke/etherwallet/releases/latest) to connect to your local node. Or, get free SSL certificate via [LetsEncrypt](https://letsencrypt.org/)</a>.
</div>
<section class="row">
<div class="clearfix col-xs-12">
<label translate="NODE_Name">Node Name</label>
<input class="form-control"
type="text"
placeholder="My ETH Node"
ng-model="customNode.name"
ng-class="Validator.isAlphaNumericSpace(customNode.name) ? 'is-valid' : 'is-invalid'">
</div>
<div class="clearfix col-xs-9">
<label>URL</label>
<input class="form-control" type="text" placeholder="http://127.0.0.1" ng-model="customNode.url" ng-class="checkNodeUrl(customNode.url) ? 'is-valid' : 'is-invalid'">
</div>
<div class="clearfix col-xs-3">
<label class="NODE_Port">Port</label>
<input class="form-control" type="text" placeholder="8545" ng-model="customNode.port" ng-class="Validator.isPositiveNumber(customNode.port) || customNode.port=='' ? 'is-valid' : 'is-invalid'">
</div>
<div class="clearfix col-xs-12">
<label><input type="checkbox" ng-model="customNode.httpBasicAuth" ng-true-value="{user:'',password:''}" ng-false-value="null" value="false"> HTTP Basic access authentication </label>
</div>
<div class="clearfix col-xs-6" ng-show="customNode.httpBasicAuth">
<label>User</label>
<input class="form-control" type="text" ng-model="customNode.httpBasicAuth.user" ng-class="customNode.httpBasicAuth && customNode.httpBasicAuth.user.length > 0 ? 'is-valid' : 'is-invalid'">
</div>
<div class="clearfix col-xs-6" ng-show="customNode.httpBasicAuth">
<label>Password</label>
<input class="form-control" type="password" ng-model="customNode.httpBasicAuth.password" ng-class="customNode.httpBasicAuth && customNode.httpBasicAuth.password.length > 0 ? 'is-valid' : 'is-invalid'">
</div>
<div class="clearfix col-xs-12 radio">
<label><input name="options" type="radio" ng-model="customNode.options" value="eth"> ETH </label>
<label><input name="options" type="radio" ng-model="customNode.options" value="etc"> ETC </label>
<label><input name="options" type="radio" ng-model="customNode.options" value="rop"> Ropsten </label>
<label><input name="options" type="radio" ng-model="customNode.options" value="kov"> Kovan </label>
<label><input name="options" type="radio" ng-model="customNode.options" value="rin"> Rinkeby </label>
<label><input name="options" type="radio" ng-model="customNode.options" value="cus"> Custom </label>
<label><input type="checkbox" ng-model="customNode.eip155" value="true"> Supports EIP-155 </label>
</div>
<div class="clearfix col-sm-6 col-sm-offset-6" ng-show="customNode.eip155">
<label>Chain ID</label>
<input class="form-control" type="text" placeholder="" ng-model="customNode.chainId" ng-class="Validator.isPositiveNumber(customNode.chainId) ? 'is-valid' : 'is-invalid'">
</div>
</section>
</div>
<div class="modal-footer">
<button class="btn btn-default" data-dismiss="modal" translate="x_Cancel">
Cancel
</button>
<button class="btn btn-primary" ng-click="saveCustomNode()" translate="NODE_CTA">
Save & Use Custom Node
</button>
</div>
</section>
</section>
</article>
</header>
<br />
<section class="container" style="min-height: 50%" ng-controller='viewCtrl'>
<div class="tab-content" >
<!-- My Wallet Page -->
<main class="tab-pane active myWalletCtrl" ng-if="globalService.currentTab==globalService.tabs.myWallet.id" ng-controller='myWalletsCtrl' ng-cloak>
<!-- Your Wallet Table -->
<h1 translate="NAV_YourWallets"> Your Wallets </h1>
<table class="table table-striped" id="tblwalletsmain">
<tr ng-repeat="twallet in allWallets track by $index">
<td width="10"><div class="addressIdenticon med" title="Address Indenticon" blockie-address="{{twallet.addr}}" watch-var="twallet"></div></td>
<td width="10">
<h2>{{twallet.nick}} </h2>
<span class="mono small">{{twallet.addr}}</span>
</td>
<td width="500" class="chrome-tokens">
<h3 class="text-success point" ng-show="!showLongBal" ng-dblclick="showLongBal=!showLongBal" title="{{twallet.balance}} (Double-Click)" >{{twallet.balance|number}} ETH</h3>
<h3 class="text-success point" ng-show="showLongBal" ng-dblclick="showLongBal=!showLongBal">{{twallet.balance }} ETH</h3>
<span class="point" ng-repeat="token in twallet.tokens" ng-show="token.balance!=0 && token.balance!='loading'" ng-dblclick="showLongToken=!showLongToken" title="{{token.getBalance()}} (Double-Click)">
<strong ng-show="!showLongToken">{{token.getBalance()|number}} </strong>
<strong ng-show="showLongToken"> {{token.getBalance()}} </strong>
{{token.getSymbol()}}
</span>
</td>
<td width="100" class="text-center" style="white-space: nowrap">
<a class="mainWalletEdit" ng-click="editMWallet($index,'wallet')"><img src="images/icon-edit.svg" title="Edit" /></a>
<a class="text-warning mainWalletView" ng-click="viewMWallet($index,'wallet')"><img src="images/icon-view.svg" title="View" /></a>
<a class="mainWalletDelete text-danger" ng-click="deleteWalletMsg($index,'wallet')"><img src="images/icon-remove-red.svg" title="Remove" /></a>
</td>
</tr>
</table>
<!-- / Your Wallet Table -->
<!-- Watch Only Account Table -->
<section id="secWatchOnlyMain">
<h1 translate="MYWAL_WatchOnly"> Your Watch-Only Accounts </h1>
<table class="table table-striped" id="tblWatchOnlyMain">
<tr ng-repeat="twallet in allWatchOnly track by $index">
<td><div class="addressIdenticon med" title="Address Indenticon" blockie-address="{{twallet.addr}}" watch-var="twallet"></div></td>
<td>
<h2>{{twallet.nick}}</h2>
<span class="mono small"> {{twallet.addr}} </span>
</td>
<td class="chrome-tokens">
<h3 class="text-success point" ng-show="!showLongBal" ng-dblclick="showLongBal=!showLongBal" title="{{twallet.balance}} (Double-Click)" >{{twallet.balance|number}} ETH</h3>
<h3 class="text-success point" ng-show="showLongBal" ng-dblclick="showLongBal=!showLongBal">{{twallet.balance }} ETH</h3>
<span class="point" ng-repeat="token in twallet.tokens" ng-show="token.balance!=0 && token.balance!='loading'" ng-dblclick="showLongToken=!showLongToken" title="{{token.getBalance()}} (Double-Click)">
<strong ng-show="!showLongToken">{{token.getBalance()|number}} </strong>
<strong ng-show="showLongToken"> {{token.getBalance()}} </strong>
{{token.getSymbol()}}
</span>
</td>
<td class="text-center"><a class="mainWalletDelete text-danger" ng-click="deleteWalletMsg($index,'watchOnly')"><img src="images/icon-remove-red.svg" title="Remove" /></a></td>
</tr>
</table>
</section>
<!-- / Watch Only Account Table -->
<!-- View Wallet Section -->
<section class="row" ng-show="wallet!=null" ng-controller='viewWalletCtrl'>
<div class="col-sm-12 text-right" style="margin: 1rem 0;" ng-show="wallet!=null">
<a class="btn btn-warning" ng-click="resetWallet()" translate="MYWAL_Hide"> Hide Wallet Info </a>
</div>
<article class="col-sm-8 view-wallet-content">
<section class="block">
<div class="col-xs-11">
<div class="account-help-icon">
<img src="images/icon-help.svg" class="help-icon" />
<p class="account-help-text" translate="x_AddessDesc">You may know this as your "Account #" or your "Public Key". It's what you send people so they can send you ETH. That icon is an easy way to recognize your address.</p>
<h5 translate="x_Address">Your Address:</h5>
</div>
<input class="form-control" type="text" ng-value="wallet.getChecksumAddressString()" readonly="readonly">
</div>
<div class="col-xs-1 address-identicon-container">
<div class="addressIdenticon" title="Address Indenticon" blockie-address="{{wallet.getAddressString()}}" watch-var="wallet"></div>
</div>
<div class="col-xs-12" ng-show='showEnc'>
<div class="account-help-icon">
<img src="images/icon-help.svg" class="help-icon" />
<p class="account-help-text" translate="x_KeystoreDesc">This Keystore / JSON file matches the format used by Mist & Geth so you can easily import it in the future. It is the recommended file to download and back up.</p>
<h5 translate="x_Keystore">Keystore/JSON File (Recommended • Encrypted • Mist/Geth Format)</h5>
</div>
<a class="btn btn-info btn-block" href="{{blobEnc}}" download="{{encFileName}}" translate="x_Download"> DOWNLOAD </a>
</div>
<div class="col-xs-12" ng-show="wallet.type=='default'">
<div class="account-help-icon">
<img src="images/icon-help.svg" class="help-icon" />
<p class="account-help-text" translate="x_PrivKeyDesc">This is the unencrypted text version of your private key, meaning no password is necessary. If someone were to find your unencrypted private key, they could access your wallet without a password. For this reason, encrypted versions are typically recommended.</p>
<h5>
<span translate="x_PrivKey">Private Key (unencrypted)</span>
</h5>
</div>
<div class="input-group">
<input class="form-control no-animate" type="{{pkeyVisible ? 'text' : 'password'}}" ng-value="wallet.getPrivateKeyString()" readonly="readonly">
<span tabindex="0" aria-label="make private key visible" role="button" class="input-group-addon eye" ng-click="showHidePkey()"></span>
</div>
</div>
<div class="col-xs-12" ng-show="wallet.type=='default'">
<div class="account-help-icon">
<img src="images/icon-help.svg" class="help-icon" />
<p class="account-help-text" translate="x_PrintDesc">ProTip: Click print and save this as a PDF, even if you do not own a printer!</p>
<h5 translate="x_Print">Print Paper Wallet:</h5>
</div>
<a class="btn btn-info btn-block" ng-click="printQRCode()" translate="x_Print">Print Paper Wallet</a>
</div>
</section>
<section class="block">
<div class="col-xs-6">
<h5 translate="x_Address">Your Address:</h5>
<div class="qr-code" qr-code="{{wallet.getChecksumAddressString()}}" watch-var="wallet" width="100%"></div>
</div>
<div class="col-xs-6">
<h5 ng-show="wallet.type=='default'">
<span translate="x_PrivKey">Private Key (unencrypted)</span>
</h5>
<div class="qr-pkey-container" ng-show="wallet.type=='default'">
<div class="qr-overlay" ng-show="!pkeyVisible"></div>
<div class="qr-code" qr-code="{{wallet.getPrivateKeyString()}}" watch-var="wallet" width="100%"></div>
<div class="input-group">
<input class="form-control no-animate" type="{{pkeyVisible ? 'text' : 'password'}}" ng-value="wallet.getPrivateKeyString()" readonly="readonly" style="display:none;width:0;height:0;padding:0">
<span tabindex="0" aria-label="make private key visible" role="button" class="input-group-addon eye" ng-click="showHidePkey()"></span>
</div>
</div>
</div>
</section>
</article>
<article class="col-sm-4">
<wallet-balance-drtv></wallet-balance-drtv>
</article>
</section>
<!-- / View Wallet Section -->
<!-- Edit Modal -->
<section class="modal fade" id="editWallet" tabindex="-1" role="dialog" aria-labelledby="editWalletLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h3 class="modal-title text-primary">
<span translate="MYWAL_Edit_2">Edit Wallet:</span>
{{viewWallet.addr}}
</h3>
</div>
<div class="modal-body">
<form role="form">
<div class="form-group">
<label for="walletName" translate="MYWAL_Name">Wallet Name</label>
<input type="text" class="form-control" value="" ng-model="viewWallet.nick" ng-keyup="$event.keyCode == 13 && editSave()"/>
</div>
</form>
</div>
<div class="modal-footer text-center">
<button type="button" class="btn btn-default" data-dismiss="modal" translate="x_Cancel">Cancel</button>
<button type="button" ng-show="viewWallet.nick.length>0" class="btn btn-primary" ng-click="editSave()" translate="x_Save">Save</button>
</div>
</div>
</div>
</section>
<!--/edit modal-->
<!-- View Private Key Modal -->
<section class="modal fade" id="viewWalletDetails" tabindex="-1" role="dialog" aria-labelledby="viewKeyLabel" ng-init="showPass=true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h3 class="modal-title text-warning">
<span translate="NAV_ViewWallet">View Wallet Info</span>:
{{viewWallet.nick}}
</h3>
</div>
<div class="modal-body">
<p translate="VIEWWALLET_Subtitle_Short"> This allows you to download different versions of private keys and re-print your paper wallet. </p>
<form role="form">
<div class="form-group">
<label for="walletName" translate="ADD_Label_3">Your file is encrypted. Please enter the password: </label>
<div class="input-group">
<input type="{{showPass && 'password' || 'text'}}" class="form-control" ng-model="password" ng-keyup="$event.keyCode == 13 && decryptWallet()" />
<span class="input-group-addon eye" ng-click="showPass=!showPass"></span>
</div>
</div>
</form>
</div>
<div class="modal-footer text-center">
<button type="button" class="btn btn-default" data-dismiss="modal" translate="x_Cancel">Cancel</button>
<button type="button" class="btn btn-warning" ng-click="decryptWallet()" translate="NAV_ViewWallet"> View Wallet Info </button>
</div>
</div>
</div>
</section>
<!--/View Private Key Modal-->
<!-- Remove Modal -->
<section class="modal fade" id="removeWallet" tabindex="-1" role="dialog" aria-labelledby="removeWalletLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h3 class="modal-title text-danger">
<span translate="MYWAL_Content_1"> Warning! You are about to remove your wallet: </span> {{viewWallet.nick}}
</h3>
</div>
<div class="modal-body">
<p translate="MYWAL_Content_2"> Be sure you have **saved the private key and/or Keystore File and the password** before you remove it.</p>
<p translate="MYWAL_Content_3"> If you want to use this wallet with your ClassicEtherWallet CX in the future, you will need to manually re-add.</p>
<h4 translate="SENDModal_Content_3">Are you sure you want to do this?</h4>
</div>
<div class="modal-footer text-center">
<button type="button" class="btn btn-default" data-dismiss="modal" translate="SENDModal_No">No, get me out of here!</button>
<button type="button" class="btn btn-danger" ng-click="deleteWallet()" translate="MYWAL_Remove">Remove</button>
</div>
</div>
</div>
</section>
<!--/ Remove modal-->
</main>
<!-- / My Wallet Page -->
<main class="tab-pane active" ng-if="globalService.currentTab==globalService.tabs.addWallet.id" ng-controller='addWalletCtrl' ng-cloak>
<h1 translate="NAV_AddWallet"> Add Wallet </h1>
<section class="row" id="walletselection">
<article class="col-md-4 col-sm-6">
<h4 translate="ADD_Label_1"> What would you like to do? </h4>
<label class="radio">
<input type="radio" name="typeOfKeyRadio" ng-model="walletType" value="gennewwallet">
<span translate="ADD_Radio_1">Generate New Wallet</span>
</label>
<label class="radio">
<input type="radio" name="typeOfKeyRadio" ng-model="walletType" value="fileupload">
<span translate="x_Keystore2">Keystore File</span>
</label>
<label class="radio">
<input type="radio" name="typeOfKeyRadio" ng-model="walletType" value="pasteprivkey">
<span translate="x_PrivKey2">Private Key</span>
</label>
<label class="radio">
<input type="radio" name="typeOfKeyRadio" ng-model="walletType" value="pastemnemonic">
<span translate="x_Mnemonic">Mnemonic</span>
</label>
<label class="radio">
<input type="radio" name="typeOfKeyRadio" ng-model="walletType" value="watchonlyaccount">
<span translate="ADD_Radio_4">Add an Account to Watch</span>
</label>
</article>
<article class="col-md-4 col-sm-6">
<!-- Generate New Wallet -->
<div ng-show="walletType=='gennewwallet'" ng-init="showPass=true">
<h4 translate="ADD_Radio_1"> Generate New Wallet: </h4>
<div class="form-group">
<label translate="ADD_Label_2"> Create a Nickname: </label>
<input class="form-control" type="text" placeholder="{{'MYWAL_Nick' | translate }}" ng-model="addAccount.nickName" ng-change="newWalletChange('','showBtnGen')" ng-keyup="$event.keyCode == 13 && importWalletToStorage()"/>
</div>
<div class="form-group">
<label translate="GEN_Label_1"> Create a Password: (at least 9 characters)</label>
<div class="input-group">
<input type="{{showPass && 'password' || 'text'}}" class="form-control" placeholder="{{'GEN_Placeholder_1' | translate }}" ng-class="isStrongPass(addAccount.password) ? 'valid' : 'invalid'" ng-model="addAccount.password" ng-change="newWalletChange('','showBtnGen')" ng-keyup="$event.keyCode == 13 && generateWallet()"/>
<span class="input-group-addon eye" ng-click="showPass=!showPass"></span>
</div>
</div>
</div>
<!-- / Generate New Wallet -->
<!-- Select Your Wallet File -->
<div ng-show="walletType=='fileupload'">
<h4 translate="ADD_Radio_2_alt">Select Your Wallet File: </h4>
<div class="form-group">
<input style="display:none;" type="file" on-read-file="showContent($fileContent)" id="fselector"/>
<a class="file-input btn btn-block btn-default btn-file marg-v-sm" ng-click="openFileDialog()" translate="ADD_Radio_2_short">SELECT WALLET FILE...</a>
</div>
<div class="form-group" ng-show="requireFPass">
<p translate="ADD_Label_3"> Your file is encrypted. Please enter the password: </p>
<input class="form-control" type="password" placeholder="{{'x_Password' | translate }}" ng-model="filePassword" ng-change="onFilePassChange()" />
</div>
</div>
<!-- Paste/Type Your Private Key -->
<div ng-show="walletType=='pasteprivkey'">
<h4 translate="ADD_Radio_3"> Paste / type your private key: </h4>
<div class="form-group">
<textarea rows="4" class="form-control" placeholder="{{'x_PrivKey2' | translate }}" ng-model="manualprivkey" ng-change="onPrivKeyChange()" ng-keyup="$event.keyCode == 13 && decryptWallet()"></textarea>
</div>
<div class="form-group" ng-show="requirePPass">
<p translate="ADD_Label_3"> Your file is encrypted. Please enter the password: </p>
<input class="form-control" type="password" placeholder="{{'x_Password' | translate }}" ng-model="privPassword" ng-change="onPrivKeyPassChange()" ng-keyup="$event.keyCode == 13 && decryptWallet()"/>
</div>
</div>
<!-- Paste/Type Your Mnemonic -->
<div ng-show="walletType=='pastemnemonic'">
<h4 translate="ADD_Radio_5"> Paste / type your mnemonic: </h4>
<div class="form-group">
<textarea rows="4" class="form-control" placeholder="{{'x_Mnemonic' | translate }}" ng-model="manualmnemonic" ng-change="onMnemonicChange()" ng-keyup="$event.keyCode == 13 && decryptWallet()"></textarea>
</div>
</div>
<!-- Add an Account to Watch -->
<div ng-show="walletType=='watchonlyaccount'">
<h4 translate="ADD_Label_4"> Add an Account to Watch: </h4>
<p class="text-danger" translate="ADD_Warning_1">You can add any account to "watch" on the wallets tab without uploading a private key. This does ** not ** mean you have access to this wallet, nor can you transfer Ether from it. </p>
<div class="form-group">
<label translate="ADD_Label_2"> Create a Nickname: </label>
<input class="form-control" type="text" placeholder="{{'MYWAL_Nick' | translate }}" ng-model="addAccount.nickName" ng-change="watchOnlyChange()"/>
</div>
<div class="form-group">
<label translate="ADD_Label_5"> Enter the Address: </label>
<input class="form-control" type="text" placeholder="0x7cB57B5A97eAbe94205C07890BE4c1aD31E486A8" ng-model="addAccount.address" ng-change="watchOnlyChange()" ng-keyup="$event.keyCode == 13 && addWatchOnly()"/>
</div>
</div>
</article>
<article class="col-md-4 col-sm-6" >
<div ng-show="showBtnGen">
<h4 translate="NAV_GenerateWallet"> Generate Wallet </h4>
<div class="form-group"><a ng-click="generateWallet()" class="btn btn-primary btn-block" translate="NAV_GenerateWallet">Generate Wallet</a></div>
</div>
<div ng-show="showBtnUnlock">
<h4 translate="ADD_Label_6"> Unlock your Wallet </h4>
<div class="form-group"><a ng-click="decryptWallet()" class="btn btn-primary btn-block" translate="ADD_Label_6_short">Unlock your Wallet</a></div>
</div>
<div ng-show="showBtnAdd">
<h4 translate="ADD_Label_7"> Add Account </h4>
<div class="form-group"><a ng-click="addWatchOnly()" class="btn btn-primary btn-block" translate="ADD_Label_7">Add Account</a></div>
</div>
<div ng-bind-html="addWalletStats"></div>
</article>
</section>
<article class="row" ng-if="showAddWallet">
<hr />
<!-- Sidebar -->
<div class="col-sm-4">
<h5 translate="sidebar_AccountAddr">Account Address:</h5>
<ul class="account-info">
<div class="addressIdenticon med float" title="Address Indenticon" blockie-address="{{wallet.getAddressString()}}" watch-var="wallet"></div>
<span class="mono wrap">{{wallet.getChecksumAddressString()}}</span>
</ul>
<h5 translate="sidebar_AccountBal">Account Balance:</h5>
<ul class="account-info">
<li><strong>{{etherBalance}}</strong> ETH </li>
</ul>
<h5 translate="sidebar_Equiv"> Equivalent Values: </h5>
<ul class="account-info">
<li><strong>{{usdBalance}}</strong> USD</li>
<li><strong>{{eurBalance}}</strong> EUR</li>
<li><strong>{{btcBalance}}</strong> BTC</li>
</ul>
<a ng-click="globalService.currentTab=globalService.tabs.swap.id" class="btn btn-primary btn-xs">Swap via Bity</a>
<h5 translate="sidebar_TransHistory"> Transaction History: </h5>
<ul class="account-info">
<li><a href="https://etherscan.io/address/{{wallet.getAddressString()}}" target="_blank" rel="noopener">https://etherscan.io/address/ {{wallet.getAddressString()}}</a></li>
</ul>
</div>
<!-- / Sidebar -->
<!-- Content -->
<div class="col-sm-8">
<h4 translate="NAV_AddWallet">Add Wallet</h4>
<div class="form-group">
<label translate="ADD_Label_2"> Create a Nickname: </label>
<input class="form-control" type="text" placeholder="{{'MYWAL_Nick' | translate }}" ng-model="addAccount.nickName" ng-change="newWalletChange('','showBtnAddWallet')"/>
</div>
<div class="form-group" ng-show="showPassTxt">
<label translate="GEN_Label_1"> Enter a strong password (at least 9 characters)</label>
<div class="input-group">
<input
type="{{showPass && 'password' || 'text'}}"
class="form-control"
placeholder="{{'GEN_Placeholder_1' | translate }}"
ng-model="addAccount.password"
ng-class="isStrongPass(addAccount.password) ? 'valid' : 'invalid'"
ng-change="newWalletChange('','showBtnAddWallet')"
ng-keyup="$event.keyCode == 13 && importWalletToStorage()"
/>
<span class="input-group-addon eye" ng-click="showPass=!showPass"></span>
</div>
</div>
<div class="form-group" ng-show="showBtnAddWallet">
<a class="btn btn-info btn-block" ng-click="importWalletToStorage()" translate="NAV_AddWallet">ADD WALLET </a>
</div>
</div>
</article>
<!-- MODAL -->
<article class="modal fade" id="mnemonicModel" tabindex="-1" role="dialog" aria-labelledby="Mnemonic Phrase Modal">
<section class="modal-dialog">
<section class="modal-content">
<div class="modal-body" role="document">
<button aria-label="Close" type="button" class="close" data-dismiss="modal">×</button>
<!-- Select HD Path -->
<h3 id="modalTitle" class="modal-title" translate="ADD_Radio_5_Path">
Select HD derivation path:
</h3>
<table class="small table table-striped table-mnemonic">
<tr>
<th> Path </th>
<th> Used By </th>
</tr>
<tr>
<td>
<label class="radio">
<input aria-describedby="Path: Jaxx, Metamask, Exodus, imToken - {{HDWallet.defaultDPath}}"
ng-change="onHDDPathChange()"
ng-model="HDWallet.dPath"
type="radio"
value="{{HDWallet.defaultDPath}}"/>
<span ng-bind="HDWallet.defaultDPath"></span>
</label>
</td>
<td> Jaxx, Metamask, Exodus, imToken & TREZOR (ETH)</td>
</tr>
<tr>
<td>
<label class="radio">
<input aria-describedby="Path: Ledger (ETH) {{HDWallet.ledgerPath}}"
ng-change="onHDDPathChange()"
ng-model="HDWallet.dPath"
type="radio"
value="{{HDWallet.ledgerPath}}"/>
<span ng-bind="HDWallet.ledgerPath"></span>
</label>
</td>
<td> Ledger (ETH)</td>
</tr>
<tr>
<td>
<label class="radio">
<input aria-describedby="Path: Ledger (ETC) {{HDWallet.ledgerClassicPath}}"
ng-change="onHDDPathChange()"
ng-model="HDWallet.dPath"
type="radio"
value="{{HDWallet.ledgerClassicPath}}"/>
<span ng-bind="HDWallet.ledgerClassicPath"></span>
</label>
</td>
<td> Ledger (ETC) </td>
</tr>
<tr>
<td>
<label class="radio">
<input aria-describedby="Path: TREZOR (ETC) {{HDWallet.trezorClassicPath}}"
ng-change="onHDDPathChange()"
ng-model="HDWallet.dPath"
type="radio"
value="{{HDWallet.trezorClassicPath}}"/>
<span ng-bind="HDWallet.trezorClassicPath"></span>
</label>
</td>
<td> TREZOR (ETC) </td>
</tr>
<tr>
<td>
<label class="radio">
<input aria-describedby="Path: TREZOR - TESTNET - {{HDWallet.trezorTestnetPath}}"
ng-change="onHDDPathChange()"
ng-model="HDWallet.dPath"
type="radio"
value="{{HDWallet.trezorTestnetPath}}"/>
<span ng-bind="HDWallet.trezorTestnetPath"></span>
</label>
</td>
<td> TREZOR (TESTNET) </td>
</tr>
<tr class="mnemonic-custom-row">
<td>
<label class="radio">
<input aria-describedby="Path: Enter your own - {{HDWallet.customDPath}}"
ng-change="onHDDPathChange()"
ng-model="HDWallet.dPath"
type="radio"
value="{{HDWallet.customDPath}}" />
<input aria-describedby="Path: Enter your own - {{HDWallet.customDPath}}"
type="text" class="form-control"
ng-model="HDWallet.customDPath"
ng-change="onCustomHDDPathChange()" />
</label>
</td>
<td> Your Custom Path </td>
</tr>
</table>
<!-- END Select HD Path -->
<!-- Select Address -->
<hr />
<h3 id="modalTitle2" class="modal-title" translate="MNEM_1">
Please select the address you would like to interact with.
</h3>
<p class="small" translate="MNEM_2">
Your single HD mnemonic phrase can access a number of wallets / addresses.
</p>
<table class="small table table-striped table-mnemonic">
<tr>
<th translate="x_Address">Address</th>
<th translate="MYWAL_Bal">Balance</th>
<th translate="sidebar_TokenBal" class="text-center" >Token<br>Balances</th>
</tr>
<tr ng-repeat="wallet in HDWallet.wallets track by $index">
<td>
<label>
<input aria-describedby="modalTitle2"
aria-label="Unlock wallet with {{wallet.getBalance()}} {{nodeType}}. Address: {{wallet.getChecksumAddressString()}}"
name="addressSelect"
ng-model="HDWallet.id"
type="radio"
value="{{$index}}"
/>{{wallet.getChecksumAddressString()}}
</label>
</td>
<td>
<a href="{{ajaxReq.blockExplorerAddr.replace('[[address]]', wallet.getAddressString())}}" target="_blank" rel="noopener">
{{wallet.getBalance()}} {{nodeType}}
</a>
</td>
<td class="text-center">
<a href="https://ethplorer.io/address/{{wallet.getAddressString()}}" target="_blank" rel="noopener" title="https://ethplorer.io/address/{{wallet.getAddressString()}}">
<img src="images/icon-external-link.svg" title="https://ethplorer.io/address/{{wallet.getAddressString()}}" ng-click="removeTokenFromLocal(token.symbol)" ng-show="token.type!=='default'" />
</a>
</td>
</tr>
<tr class="m-addresses">
<td>
<a ng-click="AddRemoveHDAddresses(false)"
ng-show="HDWallet.numWallets > 5"
role="link"
tabindex="0"
translate="MNEM_prev"
> Previous Addresses </a>
</td>
<td></td>
<td>
<a ng-click="AddRemoveHDAddresses(true)"
role="link"
tabindex="0"
translate="MNEM_more"
> More Addresses </a>
</td>
</tr>
</table>
<!-- END Select Address -->
</div>
<div class="modal-footer">
<button aria-label="Cancel - Will close dialog"
class="btn btn-default"
data-dismiss="modal"
role="button"
tabindex="0"
translate="x_Cancel"
> Cancel </button>
<button aria-label="Unlock this Wallet"
class="btn btn-primary"
ng-click="setHDWallet()"
role="button"
tabindex="0"
translate="ADD_Label_6"
> Access Wallet </button>
</div>
</section>
</section>
</article>
</main>
<main class="tab-pane active"
ng-if="globalService.currentTab==globalService.tabs.sendTransaction.id"
ng-controller='sendTxCtrl'
ng-cloak >
<!-- Header : todo turn into warning notification-->
<div class="alert alert-info" ng-show="hasQueryString">
<p translate="WARN_Send_Link" >You arrived via a link that has the address, amount, gas or data fields filled in for you. You can change any information before sending. Unlock your wallet to get started.</p>
</div>
<!-- Unlock Wallet -->
<article class="collapse-container">
<div ng-click="wd = !wd">
<a class="collapse-button"><span ng-show="wd">+</span><span ng-show="!wd">-</span></a>
<h1 translate="NAV_SendEther"> Send Ether & Tokens </h1>
</div>
<div ng-show="!wd">
<cx-wallet-decrypt-drtv></cx-wallet-decrypt-drtv>
</div>
</article>
<!-- Send Tx Content -->
<article class="row" ng-show="wallet!=null">
<!-- Content -->
<section class="col-sm-8">
<div class="block">
<!-- To Address -->
<div class="row form-group">
<address-field placeholder="0x7cB57B5A97eAbe94205C07890BE4c1aD31E486A8" var-name="tx.to"></address-field>
</div>
<!-- Amount to Send -->
<label translate="SEND_amount">Amount to Send:</label>
<div class="input-group col-sm-11">
<input type="text"
class="form-control"
placeholder="{{ 'SEND_amount_short' | translate }}"
ng-model="tx.value"
ng-disabled="tx.readOnly || checkTxReadOnly"
ng-class="Validator.isPositiveNumber(tx.value) ? 'is-valid' : 'is-invalid'"/>
<div class="input-group-btn">
<a style="min-width: 170px" class="btn btn-default dropdown-toggle" class="dropdown-toggle" ng-click="dropdownAmount = !dropdownAmount" ng-class="dropdownEnabled ? '' : 'disabled'">
<strong>{{unitReadable}}<i class="caret"></i></strong>
</a>
<ul class="dropdown-menu dropdown-menu-right" ng-show="dropdownAmount && !tx.readOnly">
<li><a ng-class="{true:'active'}[tx.sendMode=='ether']" ng-click="setSendMode('ether')">{{ajaxReq.type}}</a></li>
<li ng-repeat="token in wallet.tokenObjs track by $index" ng-show="token.balance!=0 && token.balance!='loading' || token.type!=='default' || tokenVisibility=='shown'">
<a ng-class="{true:'active'}[unitReadable == token.getSymbol()]" ng-click="setSendMode('token', $index, token.getSymbol())"> {{token.getSymbol()}} </a>
</li>
</ul>
</div>
</div>
<p><a ng-click="transferAllBalance()" ng-hide="tx.readOnly"><span class="strong" translate="SEND_TransferTotal">Send Entire Balance</span></a></p>
<!-- / Amount to Send -->
<!-- Gas Limit -->
<div class="row form-group">
<div class="col-sm-11 clearfix">
<a class="account-help-icon" href="https://myetherwallet.groovehq.com/knowledge_base/topics/what-is-gas" target="_blank" rel="noopener">
<img src="images/icon-help.svg" class="help-icon" />
<p class="account-help-text" translate="GAS_LIMIT_Desc"></p>
</a>
<label translate="TRANS_gas"> Gas Limit: </label>
<input type="text"
class="form-control"
placeholder="21000"
ng-model="tx.gasLimit"
ng-change="gasLimitChanged=true"
ng-disabled="tx.readOnly || checkTxReadOnly"
ng-class="Validator.isPositiveNumber(tx.gasLimit) ? 'is-valid' : 'is-invalid'" />
</div>
</div>
<!-- / Gas Limit -->
<!-- Advanced Option Panel -->
<a ng-click="showAdvance=true" ng-show='globalService.currentTab==globalService.tabs.sendTransaction.id'>
<p class="strong" translate="TRANS_advanced"> + Advanced: Add Data </p>
</a>
<section ng-show="showAdvance || checkTxPage">
<!-- Data -->
<div class="row form-group">
<div class="col-sm-11 clearfix" ng-show="tx.sendMode=='ether'">
<span class="account-help-icon">
<img src="images/icon-help.svg" class="help-icon" />
<p class="account-help-text" translate="OFFLINE_Step2_Label_6b">This is optional.</p>
</span>
<label translate="TRANS_data"> Data: </label>
<input type="text"
class="form-control"
placeholder="0x6d79657468657277616c6c65742e636f6d20697320746865206265737421"
ng-model="tx.data"
ng-disabled="tx.readOnly || checkTxReadOnly"
ng-class="Validator.isValidHex(tx.data) ? 'is-valid' : 'is-invalid'"/>
</div>
</div>
<!-- / Data -->
<!-- Nonce -->
<div class="row form-group" ng-show="checkTxPage">
<div class="col-sm-11 clearfix">
<a class="account-help-icon" href="https://myetherwallet.groovehq.com/knowledge_base/topics/what-is-nonce" target="_blank" rel="noopener">
<img src="images/icon-help.svg" class="help-icon" />
<p class="account-help-text" translate="NONCE_Desc"></p>
</a>
<label translate="OFFLINE_Step2_Label_5"> Nonce </label>
<input type="text"
class="form-control"
placeholder="2"
ng-model="tx.nonce"
ng-disabled="checkTxReadOnly"
ng-class="Validator.isPositiveNumber(tx.nonce) ? 'is-valid' : 'is-invalid'" />
</div>
</div>
<!-- / Nonce -->
<!-- Gas Price -->
<div class="row form-group" ng-show="checkTxPage">
<div class="col-sm-11 clearfix">
<a class="account-help-icon" href="https://myetherwallet.groovehq.com/knowledge_base/topics/what-is-gas" target="_blank" rel="noopener">
<img src="images/icon-help.svg" class="help-icon" />
<p class="account-help-text" translate="GAS_PRICE_Desc"></p>
</a>
<label> <span translate="OFFLINE_Step2_Label_3"> Gas Price: </span></label>
<input type="text"
class="form-control"
placeholder="50"
ng-model="tx.gasPrice"
ng-disabled="checkTxReadOnly"
ng-class="Validator.isPositiveNumber(tx.gasPrice) ? 'is-valid' : 'is-invalid'" />
</div>
</div>
<!-- / Gas Price -->
</section>
<!-- / Advanced Option Panel -->
<div class="clearfix form-group">
<div class="well" ng-show="wallet!=null && customGasMsg!=''">
<p><small>A message regarding {{tx.to}}</small></p>
<p><strong> {{customGasMsg}} </strong></p>
</div>
</div>
<div class="row form-group">
<div class="col-xs-12 clearfix">
<a class="btn btn-info btn-block" ng-click="generateTx()" translate="SEND_generate"> Generate Transaction </a>
</div>
</div>
<div class="row form-group" ng-show="showRaw">
<div class="col-sm-6">
<label translate="SEND_raw"> Raw Transaction </label>