-
Notifications
You must be signed in to change notification settings - Fork 23
/
index.html
executable file
·74 lines (69 loc) · 3.62 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!doctype html>
<html lang=en>
<meta charset=utf-8>
<title>EOS verify your private key</title>
<link rel=stylesheet href="index.css">
<script src=ecc.js></script>
<script src=lib.js></script>
<script src=index.js></script>
<body>
<div>
<h1>Offline tool to verify your EOS private key and map to public key</h1>
<p>Steps to running this tool with peace of mind!<br>
1. Turn your device offline. This page will work without an internet connection.<br>
2. Paste your EOS private key and then click on "Map to EOS public key"<br>
3. Your EOS private key and corresponding public key will show up. All done! You can close this page and then turn on internet connection :)
</p>
<p>Other info and resources<br>
- Register your EOS public key before EOS mainnet launch. You can use <a href="https://eosauthority.com/" target="_blank">EOSauthority</a> to check<br>
- Review <a href="https://github.com/webdigi/" target="_blank">code for this tool on github</a>. Contact us at <a href="mailto:[email protected]">[email protected]</a>
</p>
<div>
<div class="pane">
<table><tbody>
<tr>
<th>EOS private key</th>
<td style="text-align: left;">
<input style="width: 500px;" type="text" name="privKey" id="privKey" required>
<span><a href="#" id="generate-link" style="float: right;" onclick="generate()">Map to EOS public key</a></span>
</td>
</tr></tbody>
</table>
</div>
<div class="hidden pane" id="generate-pane">
<span id="generate-progress">
Maping your private key to public key...
</span>
<div id="generate-confirm" class="hidden">
<section id="generate-register">
<h3>EOS public and private key</h3>
</section>
<p>Your private key maps to the public key as shown below</p>
<table>
<tbody>
<tr>
<th>Public key</th>
<td style="text-align: left;">
<code id="generate-pubkey" style="width: 30em;"></code>
</td>
<td style="text-align: left;">
<code id="generate-pubkey-error" style="width: 30em;"></code>
</td>
</tr>
<tr>
<th>Private key</th>
<td style="text-align: left;">
<code id="generate-privkey" style="width: 30em;"></code>
</td>
<td style="text-align: left;">
<code id="generate-privkey-error" style="width: 30em;"></code>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</body>
</html>