-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
7572 lines (6319 loc) · 277 KB
/
index.html
File metadata and controls
7572 lines (6319 loc) · 277 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
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">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>XCashWallet</title>
<meta property="og:title" content="XCashWallet: Your Key to Xcash">
<meta property="og:site_name" content="XCashWallet: Your Key to Xcash">
<meta name="twitter:title" content="XCashWallet: Your Key to Xcash">
<meta name="apple-mobile-web-app-title" content="XCashWallet: Your Key to Xcash">
<link href="https://www.myetherwallet.com" rel="canonical">
<meta content="https://www.myetherwallet.com" property="og:url">
<meta content="https://www.myetherwallet.com" name="twitter:url">
<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>
<meta name="description" content="MyEtherWallet (MEW) is a free, open-source, client-side interface for generating Xcash wallets & more. Interact with the Xcash blockchain easily & securely.">
<meta property="og:description" content="Free, open-source, client-side Xcash wallet. Enabling you to interact with the blockchain easily & securely.">
<meta name="twitter:description" content="Free, open-source, client-side Xcash wallet. Enabling you to interact with the blockchain easily & securely.">
<meta name="robots" content="index,follow">
<meta name="googlebot" content="index,follow">
<meta name="google-site-verification" content="IpChQ00NYUQuNs_7Xs6xlnSdzalOlTUYbBsr8f7OpvM" />
<link href="images/fav/apple-touch-icon.png" rel="apple-touch-icon" sizes="180x180">
<link href="images/fav/favicon-32x32.png" rel="icon" type="image/png" sizes="32x32">
<link href="images/fav/favicon-16x16.png" rel="icon" type="image/png" sizes="16x16">
<link href="images/fav/manifest.json" rel="manifest">
<link href="images/fav/safari-pinned-tab.svg" rel="mask-icon" color="#2f99b0">
<link href="images/fav/favicon.ico" rel="shortcut icon">
<meta name="apple-mobile-web-app-title" content="MyEtherWallet · Your Key to Xcash">
<meta name="application-name" content="MyEtherWallet">
<meta name="msapplication-config" content="images/fav/browserconfig.xml">
<meta name="theme-color" content="#1d6986">
<meta name="apple-mobile-web-app-status-bar-style" content="#1d6986">
<meta property="og:url" content="https://www.myetherwallet.com" />
<meta property="og:title" content="MyEtherWallet.com · Your Key to Xcash" />
<meta property="og:type" content="website">
<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 name="twitter:image" content="/images/myetherwallet-logo-twitter.png">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@MyEtherWallet">
<meta name="twitter:creator" content="@MyEtherWallet">
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type" : "Organization",
"name" : "MyEtherWallet",
"legalName" : "MyEtherWallet Inc",
"url" : "https://www.myetherwallet.com/",
"contactPoint" : [{
"@type" : "ContactPoint",
"email" : "support@myetherwallet.com",
"url" : "https://myetherwallet.com",
"contactType" : "customer service"
}],
"logo" : "https://www.myetherwallet.com/images/myetherwallet-logo.png",
"description": "XCashWallet is a free, open-source, client-side interface for generating Xcash wallets & more. Interact with the Xcash blockchain easily & securely.",
"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",
"https://myetherwallet.github.io/knowledge-base/",
"https://github.com/kvhnuke/etherwallet",
"https://github.com/MyEtherWallet",
"https://kvhnuke.github.io/etherwallet/","https://myetherwallet.slack.com/"
]
}
</script>
<style type="text/css">
ul li{
list-style: none;
}
</style>
</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">
欢迎使用XCash在线钱包! 注意预防钓鱼网站! 🎣非常感激!
<br />
(注:部分即时通讯软件内置浏览器不支持新建钱包密钥下载的,可使用手机浏览器或电脑浏览器打开本网址 http://xch.im)
<br />
</div>
</div>
<section class="bg-gradient header-branding">
<section class="container">
<a class="brand" href="/" aria-label="Go to homepage">
<img src="images/logo-ethereum-2.png" height="64px" width="245px" alt="XCashWallet" />
<p class="small visible-xs">3.21.05</p>
</a>
<div class="tagline">
<span class="hidden-xs">3.21.05</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=='Català']" ng-click="changeLanguage('ca','Català' )"> Català </a></li>
<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=='Farsi']" ng-click="changeLanguage('fa','Farsi' )"> Farsi </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=='Haitian Creole']" ng-click="changeLanguage('ht','Haitian Creole' )"> Haitian Creole </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=='ภาษาไทย']" ng-click="changeLanguage('th','ภาษาไทย' )"> ภาษาไทย </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>:
{{gas.value}} Gwei
<input type="range" ng-model="gas.value" min="{{gas.min}}" max="{{gas.max}}" step="{{gas.step}}" ng-change="gasChanged()"/>
<p class="small col-xs-4 text-left"> <!--translate="GAS_Price_1"-->
Really, really slow
</p>
<p class="small col-xs-4 text-center"> <!--translate="GAS_Price_2"-->
Maybe Fast?
</p>
<p class="small col-xs-4 text-right"> <!--translate="GAS_Price_3"-->
Fast
</p>
<br />
<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.github.io/knowledge-base/gas/what-is-gas-ethereum.html"
target="_blank"
rel="noopener noreferrer"></a>
</div>
</ul>
<p class="dropdown-gas__msg"
ng-show="gasPriceMsg"
ng-hide="ajaxReq.type!='ETH'">
The network is really full right now. Check
<a href="https://ethgasstation.info/"
target="_blank" rel="noopener noreferrer">Eth Gas Station</a>
for gas price to use.
</p>
</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">
<span translate="X_Network">Network:</span>
{{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;" translate="X_Network_Custom">
Add XCH Network / 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.mew"
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.github.io/knowledge-base/" target="_blank" rel="noopener noreferrer">
<span translate="NAV_Help">
Help
</span>
</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" aria-label="Close Dialog">×</button>
<h2 class="modal-title text-info" translate="NODE_Title"> Set Up Your XCH Node </h2>
<p class="small"><a href="https://myetherwallet.github.io/knowledge-base/networks/run-your-own-node-with-myetherwallet.html" target="_blank" rel="noopener noreferrer"> 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 MyEtherWallet.com. You can [download the MyEtherWallet 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" text="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" text="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="cus"> 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"> XCH </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 XCH Node
</button>
</div>
</section>
</section>
</article>
</header>
<section class="container" style="min-height: 50%" ng-controller='viewCtrl'>
<div class="tab-content" >
<main class="tab-pane block--container active"
ng-if="globalService.currentTab==globalService.tabs.generateWallet.id"
ng-controller='walletGenCtrl'
role="main"
ng-cloak>
<article class="block__wrap gen__1" ng-show="!wallet && !showGetAddress">
<section class="block__main gen__1--inner">
<br />
<h1 translate="NAV_GenerateWallet" aria-live="polite">
Create New Wallet
</h1>
<h4 translate="GEN_Label_1">
Enter password
</h4>
<div class="input-group">
<input name="password"
class="form-control"
type="{{showPass && 'password' || 'text'}}"
placeholder="{{'GEN_Placeholder_1' | translate }}"
ng-model="password"
ng-class="isStrongPass() ? 'is-valid' : 'is-invalid'"
aria-label="{{'GEN_Label_1' | translate}}"
/>
<span tabindex="0"
aria-label="make password visible"
role="button"
class="input-group-addon eye"
ng-click="showPass=!showPass">
</span>
</div>
<a tabindex="0"
role="button"
class="btn btn-primary"
ng-click="genNewWallet()"
translate="NAV_GenerateWallet">
Generate Wallet
</a>
<article class="modal fade" id="appleMobileModal" tabindex="-1">
<section class="modal-dialog">
<section class="modal-content">
<div class="modal-body">
<button type="button" class="close" ng-click="closeModal()" aria-label="Close Dialog">×</button>
<h2 class="modal-title" translate="APPLE_Mob_Notice_Head">
It seems like you're using an IPhone or an IPad.
</h2>
<p translate="APPLE_Mob_Notice_Body_1">
Just letting you know that generating wallets isn't supported in these devices because of Apple's storage restrictions.
</p>
<p translate="APPLE_Mob_Notice_Body_2">
Please use the website on a laptop or computer.
</p>
</div>
<div class="modal-footer">
<button class="btn btn-primary col-xs-12" ng-click="closeModal()" translate="APPLE_Mob_Notice_Understand">
I understand.
</button>
</div>
</section>
</section>
</article>
<p translate="x_PasswordDesc"></p>
<div class="text-center">
<strong>
<a href="https://myetherwallet.github.io/knowledge-base/getting-started/creating-a-new-wallet-on-myetherwallet.html"
target="_blank"
rel="noopener noreferrer"
translate="GEN_Help_5">
如何创建一个新钱包
</a>
·
<a href="https://myetherwallet.github.io/knowledge-base/getting-started/getting-started-new.html"
target="_blank"
rel="noopener noreferrer"
translate="GEN_Help_6">
从这里开始
</a>
</strong>
</div>
<br>
</section>
<section class="block__help">
<h2 translate="GEN_Help_0">
已经在别处拥有钱包?
</h2>
<ul>
<li>
<p>
<strong>
Ledger / TREZOR / Digital Bitbox / Secalot
</strong>:
<span translate="GEN_Help_1">
使用你的
</span>
<a ng-click="globalService.currentTab=globalService.tabs.sendTransaction.id">
硬件钱包
</a>.
<span translate="GEN_Help_3">
你的硬件设备 * 就是 * 你的钱包.
</span>
</p>
</li>
</ul>
<ul>
<li>
<p>
<strong>
MetaMask
</strong>
<span>
Connect via your
</span>
<a ng-click="globalService.currentTab=globalService.tabs.sendTransaction.id">
MetaMask Extension
</a>.
<span translate="GEN_Help_MetaMask">
So easy! Keys stay in MetaMask, not on a phishing site! Try it today.
</span>
</p>
</li>
</ul>
<ul>
<li>
<p>
<strong>
Jaxx / imToken
</strong>
<span translate="GEN_Help_1">Use your</span>
<a ng-click="globalService.currentTab=globalService.tabs.sendTransaction.id" translate="x_Mnemonic">
Mnemonic Phrase
</a>
<span translate="GEN_Help_2">
to access your account.
</span>
</p>
</li>
</ul>
<ul>
<li>
<p>
<strong>
Mist / Geth / Parity:
</strong>
<span translate="GEN_Help_1">
Use your
</span>
<a ng-click="globalService.currentTab=globalService.tabs.sendTransaction.id" translate="x_Keystore2">
Keystore File (UTC / JSON)
</a>
<span translate="GEN_Help_2">
to access your account.
</span>
</p>
</li>
</ul>
</section>
</article>
<article role="main" class="block__wrap gen__2" ng-show="wallet && !showPaperWallet" > <!-- -->
<section class="block__main gen__2--inner">
<br />
<h1 translate="GEN_Label_2">
Save your Keystore File (UTC / JSON)
</h1>
<a tabindex="0" role="button"
class="btn btn-primary"
href="{{blobEnc}}"
download="{{encFileName}}"
aria-label="{{'x_Download'|translate}} {{'x_Keystore'|translate}}"
aria-describedby="x_KeystoreDesc"
ng-click="downloaded()"
rel="noopener noreferrer">
<span translate="x_Download">
DOWNLOAD
</span>
<span translate="x_Keystore2">
Keystore File (UTC / JSON)
</span>
</a>
<div class="warn">
<p class="GEN_Warning_1">
如果即时通讯软件内置浏览器不支持下载Keystore,可用手机浏览器或电脑浏览器重新打开 http://xch.im.
</p>
<p class="GEN_Warning_1">
**不要丢失你的密钥!** 如果丢失将无法恢复.
</p>
<p class="GEN_Warning_2">
**不要共享你的密钥!** 如果您在恶意或钓鱼网站使用密钥,您的账户可能会遭遇被盗风险.
</p>
<p class="GEN_Warning_3">
**请保管好此密钥!** 就像保管一个将来会成为数百万美元财产的东西一样.
</p>
</div>
<p>
<a tabindex="0"
role="button"
class="btn btn-danger"
ng-class="fileDownloaded ? '' : 'disabled' "
ng-click="continueToPaper()">
<span translate="GET_ConfButton">
I understand. Continue.
</span>
</a>
</p>
</section>
<section class="block__help">
<h2 translate="GEN_Help_8">
无法下载密钥文件?
</h2>
<ul>
<li translate="GEN_Help_9">
尝试使用firefox火狐浏览器
</li>
<li translate="GEN_Help_10">
右键选择 从链接另存为名为 & 的文件:
</li>
<input value="{{encFileName}}" class="form-control input-sm" />
</ul>
<h2 translate="GEN_Help_11">
无法直接打开此文件来打开你的钱包
</h2>
<ul>
<li translate="GEN_Help_12">
可通过 MyEtherWallet 使用此文件即可解锁你的钱包 (或者 Mist, Geth, Parity & 以及其他钱包客户端.)
</li>
</ul>
<h2 translate="GEN_Help_4">Guides & FAQ</h2>
<ul>
<li>
<a href="https://myetherwallet.github.io/knowledge-base/getting-started/backing-up-your-new-wallet.html" target="_blank" rel="noopener noreferrer">
<strong translate="GEN_Help_13">
How to Back Up Your Keystore File
</strong>
</a>
</li>
<li>
<a href="https://myetherwallet.github.io/knowledge-base/private-keys-passwords/difference-beween-private-key-and-keystore-file.html" target="_blank" rel="noopener noreferrer">
<strong translate="GEN_Help_14">
What are these Different Formats?
</strong>
</a>
</li>
</ul>
</section>
</article>
<article role="main" class="block__wrap gen__3" ng-show="showPaperWallet">
<section class="block__main gen__3--inner">
<br />
<h1 translate="GEN_Label_5"> Save your Private Key</h1>
<textarea aria-label="{{'x_PrivKey'|translate}}"
aria-describedby="{{'x_PrivKeyDesc'|translate}}"
class="form-control"
readonly="readonly"
rows="3"
style="max-width: 50rem;margin: auto;"
>{{wallet.getPrivateKeyString()}}</textarea>
<br />
<a tabindex="0"
aria-label="{{'x_Print'|translate}}"
aria-describedby="x_PrintDesc"
role="button"
class="btn btn-primary"
ng-click="printQRCode()"
translate="x_Print">
PRINT
</a>
<div class="warn">
<p>
**Do not lose it!** It cannot be recovered if you lose it.
</p>
<p>
**Do not share it!** Your funds will be stolen if you use this file on a malicious/phishing site.
</p>
<p>
**Make a backup!** Secure it like the millions of dollars it may one day be worth.
</p>
</div>
<br />
<a class="btn btn-default btn-sm" ng-click="getAddress()">
<span translate="GEN_Label_3"> Save your Address </span> →
</a>
</section>
<section class="block__help">
<h2 translate="GEN_Help_4">
Guides & FAQ
</h2>
<ul>
<li><a href="https://myetherwallet.github.io/knowledge-base/getting-started/backing-up-your-new-wallet.html" target="_blank" rel="noopener noreferrer">
<strong translate="HELP_2a_Title">
How to Save & Backup Your Wallet.
</strong>
</a></li>
<li><a href="https://myetherwallet.github.io/knowledge-base/getting-started/protecting-yourself-and-your-funds.html" target="_blank" rel="noopener noreferrer">
<strong translate="GEN_Help_15">Preventing loss & theft of your funds.</strong>
</a></li>
<li><a href="https://myetherwallet.github.io/knowledge-base/private-keys-passwords/difference-beween-private-key-and-keystore-file.html" target="_blank" rel="noopener noreferrer">
<strong translate="GEN_Help_16">What are these Different Formats?</strong>
</a></li>
</ul>
<h2 translate="GEN_Help_17">
Why Should I?
</h2>
<ul>
<li translate="GEN_Help_18">
To have a secondary backup.
</li>
<li translate="GEN_Help_19">
In case you ever forget your password.
</li>
<li>
<a href="https://myetherwallet.github.io/knowledge-base/offline/ethereum-cold-storage-with-myetherwallet.html" target="_blank" rel="noopener noreferrer" translate="GEN_Help_20">Cold Storage</a>
</li>
</ul>
<h2 translate="x_PrintDesc"></h2>
</section>
</article>
<article class="text-left" ng-show="showGetAddress">
<div class="clearfix collapse-container">
<div ng-click="wd = !wd">
<a class="collapse-button"><span ng-show="wd">+</span><span ng-show="!wd">-</span></a>
<h1 traslate="GEN_Unlock">Unlock your wallet to see your address</h1>
<p translate="x_AddessDesc"></p>
</div>
<div ng-show="!wd">
<wallet-decrypt-drtv></wallet-decrypt-drtv>
</div>
</div>
<div class="row" ng-show="wallet!=null" ng-controller='viewWalletCtrl'>
<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: If you cannot print this right now, click "Print" and save it as a PDF until you are able to get it printed. Remove it from your computer afterwards!
</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>
</div>
</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">
<wallet-decrypt-drtv></wallet-decrypt-drtv>
</div>
</article>
<!-- Send Tx Content -->
<article class="row" ng-show="wallet!=null">
<!-- Content -->
<div class="col-sm-8">
<!-- If unlocked with address only -->
<article class="block" ng-show="wallet.type=='addressOnly'">
<div class="row form-group">
<h4 translate="SEND_ViewOnly">
You cannot send with only your address. You must use one of the other options to unlock your wallet in order to send.
</h4>
<h5 translate="X_HelpfulLinks">
Helpful Links & FAQs
</h5>
<ul>
<li class="u__protip">
<a href="https://myetherwallet.github.io/knowledge-base/getting-started/accessing-your-new-eth-wallet.html"
target="_blank"
rel="noopener noreferrer"
translate="X_HelpfulLinks_1">
How to Access your Wallet
</a>
</li>
<li class="u__protip">
<a href="https://myetherwallet.github.io/knowledge-base/private-keys-passwords/lost-eth-private-key.html"
target="_blank"
rel="noopener noreferrer"
translate="X_HelpfulLinks_2">
I lost my private key
</a>
</li>
<li class="u__protip">
<a href="https://myetherwallet.github.io/knowledge-base/private-keys-passwords/accessing-different-address-same-private-key-ether.html"
target="_blank"
rel="noopener noreferrer"
translate="X_HelpfulLinks_3">
My private key opens a different address
</a>
</li>
<li class="u__protip">
<a href="https://myetherwallet.github.io/knowledge-base/migration/"
target="_blank"
rel="noopener noreferrer"
translate="X_HelpfulLinks_4">
Migrating to/from MyEtherWallet
</a>
</li>
</ul>
</div>
</article>
<!-- If unlocked with PK -->
<article class="block" ng-hide="wallet.type=='addressOnly'">
<!-- To Address -->
<div class="row form-group">
<address-field placeholder="0xDECAF9CD2367cdbb726E904cD6397eDFcAe6068D" var-name="tx.to"></address-field>
</div>
<!-- Amount to Send -->
<section class="row form-group">
<div class="col-sm-11">
<label translate="SEND_amount">
Amount to Send:
</label>
</div>
<div class="col-sm-11">
<div class="input-group">
<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>
<!-- Amount to Send - Dropdown -->
<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.balance!='Click to Load' &&
token.balance.trim()!='Not a valid ERC-20 token' ||
token.type!=='default'" >
<a ng-class="{true:'active'}[unitReadable == token.getSymbol()]"
ng-click="setSendMode('token', $index, token.getSymbol())" >
{{token.getSymbol()}}
</a>
</li>
</ul>