-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathhelpers.html
More file actions
1753 lines (1559 loc) · 77.5 KB
/
helpers.html
File metadata and controls
1753 lines (1559 loc) · 77.5 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>MyEtherWallet.com</title>
<meta property="og:title" content="MyEtherWallet.com: Your Key to Ethereum">
<meta property="og:site_name" content="MyEtherWallet.com: Your Key to Ethereum">
<meta name="twitter:title" content="MyEtherWallet.com: Your Key to Ethereum">
<meta name="apple-mobile-web-app-title" content="MyEtherWallet.com: Your Key to Ethereum">
<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 Ethereum wallets & more. Interact with the Ethereum blockchain easily & securely.">
<meta property="og:description" content="Free, open-source, client-side Ethereum wallet. Enabling you to interact with the blockchain easily & securely.">
<meta name="twitter:description" content="Free, open-source, client-side Ethereum 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 Ethereum">
<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 Ethereum" />
<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": "MyEtherWallet.com is a free, open-source, client-side interface for generating Ethereum wallets & more. Interact with the Ethereum 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>
</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">
DON'T GET PHISHED, please! 🎣 Thank you! 🤗
<br />
1. BOOKMARK <a href="https://www.myetherwallet.com"> MYETHERWALLET.COM </a>
<span class="hidden-xs">
2. INSTALL <a href="https://chrome.google.com/webstore/detail/etheraddresslookup/pdknmigbbbhmllnmgdfalmedcmcefdfn" target="_blank" rel="noopener noreferrer">EAL</a>
or
<a href="https://myetherwallet.github.io/knowledge-base/migration/moving-from-private-key-to-metamask.html" target="_blank" rel="noopener noreferrer">MetaMask</a>
or
<a href="https://chrome.google.com/webstore/detail/cryptonite-by-metacert/keghdcpemohlojlglbiegihkljkgnige" target="_blank" rel="noopener noreferrer">Cryptonite</a>
</span>
</div>
</div>
<section class="bg-gradient header-branding">
<section class="container">
<a class="brand" href="/" aria-label="Go to homepage">
<img src="images/logo-myetherwallet.svg" height="64px" width="245px" alt="MyEtherWallet" />
<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 Custom 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 Custom 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" 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>
<section class="container" style="min-height: 50%" ng-controller='viewCtrl'>
<div class="tab-content" >
<div class="" ng-controller="helpersCtrl">
<h1>
Convert Ethererum Units (e.g. Ether <-> Wei)
</h1>
<h2 class="p">
Ether Wei Converter
</h2>
<section class="mono">
<div class="input-group form-group">
<input class="form-control" type="text" ng-model="units.wei" ng-change="convertUnit('wei')" />
<div class="input-group-btn">
<a class="btn btn-default" style="min-width: 170px;">
wei
</a>
</div>
</div>
<div class="input-group form-group">
<input class="form-control" type="text" ng-model="units.kwei" ng-change="convertUnit('kwei')" />
<div class="input-group-btn">
<a class="btn btn-default" style="min-width: 170px;">
kwei
</a>
</div>
</div>
<div class="input-group form-group">
<input class="form-control" type="text" ng-model="units.mwei" ng-change="convertUnit('mwei')" />
<div class="input-group-btn">
<a class="btn btn-default" style="min-width: 170px;">
mwei
</a>
</div>
</div>
<div class="input-group form-group">
<input class="form-control" type="text" ng-model="units.gwei" ng-change="convertUnit('gwei')" />
<div class="input-group-btn">
<a class="btn btn-default" style="min-width: 170px;">
gwei <small>(shannon)
</small>
</a>
</div>
</div>
<div class="input-group form-group">
<input class="form-control" type="text" ng-model="units.szabo" ng-change="convertUnit('szabo')" />
<div class="input-group-btn">
<a class="btn btn-default" style="min-width: 170px;">
szabo
</a>
</div>
</div>
<div class="input-group form-group">
<input class="form-control" type="text" ng-model="units.finney" ng-change="convertUnit('finney')" />
<div class="input-group-btn">
<a class="btn btn-default" style="min-width: 170px;">
finney
</a>
</div>
</div>
<div class="input-group form-group">
<input class="form-control" type="text" ng-model="units.ether" ng-change="convertUnit('ether')" />
<div class="input-group-btn">
<a class="btn btn-primary" style="min-width: 170px;">
ether
</a>
</div>
</div>
<div class="input-group form-group">
<input class="form-control" type="text" ng-model="units.kether" ng-change="convertUnit('kether')" />
<div class="input-group-btn">
<a class="btn btn-default" style="min-width: 170px;">
kether
</a>
</div>
</div>
<div class="input-group form-group">
<input class="form-control" type="text" ng-model="units.mether" ng-change="convertUnit('mether')" />
<div class="input-group-btn">
<a class="btn btn-default" style="min-width: 170px;">
mether
</a>
</div>
</div>
<div class="input-group form-group">
<input class="form-control" type="text" ng-model="units.gether" ng-change="convertUnit('gether')" />
<div class="input-group-btn">
<a class="btn btn-default" style="min-width: 170px;">
gether
</a>
</div>
</div>
<div class="input-group form-group">
<input class="form-control" type="text" ng-model="units.tether" ng-change="convertUnit('tether')" />
<div class="input-group-btn">
<a class="btn btn-default" style="min-width: 170px;"> tether
</a>
</div>
</div>
</section>
<br /><br /><br />
<h1>
ENS Debugger & Data Grabber
</h1>
<h2 class="p">
Ethereum Name Service Data String Generator
</h2>
<p class="text-danger">
This is meant to be a helpful tool for debugging and checking and generating manual reveals when necessary. Use at your own risk. There is no validation on these fields.
</p>
<section class="row">
<div class="form-group col-sm-12">
<label>
Address you Bid From
</label>
<input class="form-control" type="text" ng-model="ensAddress" ng-change="allTheThings()" />
</div>
</section>
<section class="row">
<div class="form-group col-sm-6">
<label>
ENS Name you Bid On (no '.eth' at the end!)
</label>
<input class="form-control" type="text" ng-model="ensLabel" ng-change="toEnsLabelHash()" />
</div>
<div class="form-group col-sm-6">
<label>
Hashed ENS Name (Label Hash)
</label>
<input class="form-control" type="text" ng-model="ensLabelHash" />
</div>
</section>
<section class="row">
<div class="form-group col-sm-6">
<label>
Amount you Bid (ETH)
</label>
<input class="form-control" type="text" ng-model="bidEth" ng-change="toBidWei()" />
</div>
<div class="form-group col-sm-6">
<label>
Amount you Bid (WEI)
</label>
<input class="form-control" type="text" ng-model="bidWei" ng-change="toBidEth()" />
</div>
</section>
<section class="row">
<div class="form-group col-sm-6">
<label>
Your Secret
</label>
<input class="form-control" type="text" ng-model="ensSecret" ng-change="toEnsSecretHash()" />
</div>
<div class="form-group col-sm-6">
<label>
Your Secret (Hashed)
</label>
<input class="form-control" type="text" ng-model="ensSecretHash"/>
</div>
</section>
<section class="row">
<div class="form-group col-xs-12">
<label>
Start Auction Data
</label>
<input class="form-control" type="text" ng-model="startAuctionData" readonly />
<p>
To:
<code>0x6090a6e47849629b7245dfa1ca21d94cd15878ef</code>
·
Amount:
<code>0</code>
·
Gas Limit:
<code>200000</code>
·
Data:
<code>[ABOVE]</code>
</p>
</div>
</section>
<section class="row">
<div class="form-group col-xs-12">
<label>
Start Auction And Bid Data
</label>
<input class="form-control" type="text" ng-model="startAndBidAuctionData" readonly />
<p>
To:
<code>0x6090a6e47849629b7245dfa1ca21d94cd15878ef</code>
·
Amount:
<code>0</code>
·
Gas Limit:
<code>200000</code>
·
Data:
<code>[ABOVE]</code>
</p>
</div>
</section>
<section class="row">
<div class="form-group col-xs-12">
<label>
New Bid Data
<small>If your reveals aren't working, this is the string that needs to match your bid data on Etherscan)</small>
</label>
<input class="form-control" type="text" ng-model="shaBid" readonly />
<p>
To: <code>0x6090a6e47849629b7245dfa1ca21d94cd15878ef</code>
·
Amount: <code>[A NUMBER >= BID AMOUNT]</code>
·
Gas Limit: <code>500000</code>
·
Data: <code>[ABOVE]</code>
</p>
</div>
</section>
<section class="row">
<div class="form-group col-xs-12">
<label>
Reveal Data <small> This is for manually revealing if you need to do so.
</small>
</label>
<input class="form-control" type="text" ng-model="revealBidData" readonly />
<p>
To: <code>0x6090a6e47849629b7245dfa1ca21d94cd15878ef</code>
·
Amount: <code>0</code>
·
Gas Limit: <code>200000</code>
·
Data: <code>[ABOVE]</code>
</p>
</div>
</section>
<section class="row">
<div class="form-group col-xs-12">
<label>
Finalize Auction Data
</label>
<input class="form-control" type="text" ng-model="finalizeAuctionData" readonly />
<p>
To: <code>0x6090a6e47849629b7245dfa1ca21d94cd15878ef</code>
·
Amount: <code>0</code>
·
Gas Limit: <code>200000</code>
·
Data: <code>[ABOVE]</code>
</p>
</div>
</section>
<br /><br /><br />
<h1>
Convert Decimal to Hexidecimal and Hex to Decimal
</h1>
<div class="form-group">
<label>
Decimal
</label>
<input class="form-control" type="text" ng-model="decimalNumber" ng-change="decimalToHex()" />
</div>
<div class="form-group">
<label>
Hexadecimal
</label>
<input class="form-control" type="text" ng-model="hexNumber" ng-change="hexToDecimal()" />
</div>
<div class="form-group">
<label>
Hexadecimal - Padded Left w/ 64 characters
</label>
<input class="form-control" type="text" ng-model="hexPaddedLeft" />
</div>
<br /><br /><br />
<h1>
"SHA3" (Keccak-256) It!
<small>
<a href="https://ethereum.stackexchange.com/questions/550/which-cryptographic-hash-function-does-ethereum-use"
target="_blank"
rel="noopener noreferrer">
yooo... sha3 !== Keccak-256?!
</a>
</small>
</h1>
<div class="form-group">
<label>
Input
</label>
<input class="form-control" type="text" ng-model="inputText" ng-change="toSHA3()" />
</div>
<div class="form-group">
<label>
Output
</label>
<input class="form-control" type="text" ng-model="outputText" readonly />
</div>
<br /><br /><br />
<h1> Ether Unit Reference Guide
</h1>
<table class="table table-striped mono">
<tr>
<td>
<strong>
wei
</strong>
</td>
<td>
<small></small>
</td>
<td>
1
</td>
<td>
1
</td>
<td>
</td>
</tr>
<tr>
<td>
<strong>
kwei
</strong>
</td>
<td>
<small>
ada, femtoether
</small>
</td>
<td>
1000
</td>
<td>
1,000
</td>
<td>
10<sup>3</sup>
</td>
</tr>
<tr>
<td>
<strong>
mwei
</strong>
</td>
<td>
<small>
babbage, picoether
</small>
</td>
<td>
1000000
</td>
<td>
1,000,000
</td>
<td>
10<sup>6</sup>
</td>
</tr>
<tr>
<td>
<strong>
gwei
</strong>
</td>
<td>
<small>
shannon, nanoether, nano
</small>
</td>
<td>
1000000000
</td>
<td>
1,000,000,000
</td>
<td>
10<sup>9</sup>
</td>
</tr>
<tr>
<td>
<strong>szabo</strong>
</td>
<td>
<small>
microether, micro
</small>
</td>
<td>
1000000000000
</td>
<td>
1,000,000,000,000
</td>
<td>
10<sup>12</sup>
</td>
</tr>
<tr>
<td>
<strong>finney</strong>
</td>
<td>
<small>
milliether, milli
</small>
</td>
<td>
1000000000000000
</td>
<td>
1,000,000,000,000,000
</td>
<td>
10<sup>15</sup>
</td>
</tr>
<tr>
<td>
<strong>ether</strong>
</td>
<td>
<small></small>
</td>
<td>
1000000000000000000
</td>
<td>
1,000,000,000,000,000,000
</td>
<td>
10<sup>18</sup>
</td>
</tr>
<tr>
<td>
<strong>kether</strong>
</td>
<td>
<small>
grand, einstein
</small>
</td>
<td>
1000000000000000000000
</td>
<td>
1,000,000,000,000,000,000,000
</td>
<td>
10<sup>21</sup>
</td>
</tr>
<tr>
<td>
<strong>mether</strong>
</td>
<td>
<small></small>
</td>
<td>
1000000000000000000000000
</td>
<td>
1,000,000,000,000,000,000,000,000
</td>
<td>
10<sup>24</sup>
</td>
</tr>
<tr>
<td>
<strong>gether</strong>
</td>
<td>
<small></small>
</td>
<td>
1000000000000000000000000000
</td>
<td>
1,000,000,000,000,000,000,000,000,000
</td>
<td>
10<sup>27</sup>
</td>
</tr>
<tr>
<td>
<strong>tether</strong>
</td>
<td>
<small></small>
</td>
<td>
1000000000000000000000000000000
</td>
<td>
1000,000,000,000,000,000,000,000,000,000
</td>
<td>
10<sup>30</sup>
</td>
</tr>
</table>
</p>
<br /><br /><br />
<h1>
Mistyped Private Key
</h1>
<div class="form-group">
<label>
Private Key that isn't unlocking correct address
</label>
<input class="form-control" type="text" ng-model="mistypedPK" />
</div>
<div class="form-group">
<label>
Address You Sent To
</label>
<input class="form-control" type="text" ng-model="mistypedAddr" />
</div>
<div class="form-group">
<a class="btn btn-primary" ng-click="findMyPrivateKey()"> Start the Search!
</a>
</div>
<div class="form-group">
<label>
Actual Private Key
</label>
<input class="form-control" type="text" ng-model="actualPK" readonly />
</div>
<div class="form-group">
<ul>
<li class="text-danger">
Consider yourself very, very lucky.
</li>
<li>
Now you need to create a new secure wallet and move all funds to it.
</li>
<li>
In order to prevent the same thing from happening, <strong> please make sure your address you are sending to matches the address on your paper wallet
</strong>
</li>
<li>
<a href="https://myetherwallet.github.io/knowledge-base/getting-started/creating-a-new-wallet-on-myetherwallet.html" target="_blank" rel="noopener noreferrer">
Read this guide for more information.
</a>
</li>
<li>
<a href="https://myetherwallet.github.io/knowledge-base/getting-started/protecting-yourself-and-your-funds.html" target="_blank" rel="noopener noreferrer">
Learn how to protect yourself and your funds.
</a>
</li>
</ul>
</div>
</div>
</div>
<div data-ng-repeat="alert in notifier.alerts">
<div class="alert popup alert-{{alert.type}} animated-show-hide"
style="bottom: {{85*$index}}px; z-index: {{999+$index}};">
<div class="container">
<div class='alert-message' ng-bind-html="alert.message"></div>
</div>
<i class="icon-close" ng-click="alert.close()"></i>
</div>
</div>
</section>
<section class="pre-footer">
<div class="container">
<p>
MyEtherWallet.com does not hold your keys for you. We cannot access accounts, recover keys, reset passwords, nor reverse transactions. Protect your keys & always check that you are on correct URL.
<a role="link" tabindex="0" data-toggle="modal" data-target="#disclaimerModal">
You are responsible for your security.
</a>
</p>
</div>
</section>
<footer class="footer" role="content" aria-label="footer" ng-controller='footerCtrl' >
<article class="block__wrap" style="max-width: 1780px; margin: auto;">