-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
145 lines (128 loc) · 6.59 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<!DOCTYPE html>
<html lang="en">
<head>
<title>Wrkzcoin Wallet Generator</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.3/css/bootstrap.min.css" integrity="sha384-Zug+QiDoJOrZ5t4lssLdxGhVrurbmBWopoEl+M6BdEfwnCJZtKxi1KgxUyJq13dy" crossorigin="anonymous">
<!--Favicons-->
<link rel="apple-touch-icon-precomposed" sizes="57x57" href="/images/favicons/apple-touch-icon-57x57.png" />
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/images/favicons/apple-touch-icon-114x114.png" />
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/images/favicons/apple-touch-icon-72x72.png" />
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/images/favicons/apple-touch-icon-144x144.png" />
<link rel="apple-touch-icon-precomposed" sizes="60x60" href="/images/favicons/apple-touch-icon-60x60.png" />
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="/images/favicons/apple-touch-icon-120x120.png" />
<link rel="apple-touch-icon-precomposed" sizes="76x76" href="/images/favicons/apple-touch-icon-76x76.png" />
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="/images/favicons/apple-touch-icon-152x152.png" />
<link rel="icon" type="image/png" href="/images/favicons/favicon-196x196.png" sizes="196x196" />
<link rel="icon" type="image/png" href="/images/favicons/favicon-96x96.png" sizes="96x96" />
<link rel="icon" type="image/png" href="/images/favicons/favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="/images/favicons/favicon-16x16.png" sizes="16x16" />
<link rel="icon" type="image/png" href="/images/favicons/favicon-128.png" sizes="128x128" />
<link rel="shortcut icon" href="/images/favicons/favicon.ico" type="image/x-icon" />
</head>
<body>
<div class="container">
<div class="row">
<div class="col-12">
<center>
<h1 class="display-3 d-print-none">WrkzCoin Wallet Generator</h1>
<h5><span class="private"><strong>PROTIP:</strong> If you see anything red on this page, that means it's a secret. Keep a copy and don't show anyone.</span></h5>
</center>
</div>
</div>
<div class="row d-print-none">
<div class="col-12 d-print-none">
<h3>Step 1
<button class="btn btn-default" onclick="js:show_generate();" type="button" value="Generate a wallet">Generate a Wallet</button> or
<button class="btn btn-default" onclick="js:show_restore();" type="button" value="restore keys from seed phrase">Restore keys from seed phrase</button>
</h3>
<div id="generate" style="display:none;">
<p>For extra security, type a few random letters, words, numbers, or symbols below. Press "Generate Wallet" when you are done.</p>
<input id="user_entropy_widget" type="text" style="width:100%;" value="" placeholder=" The more random stuff you type in this box, the better your keys will be." /><br /><br />
<center>
<button class="btn btn-default" onclick="js:genwallet(null);" type="button" value="Generate wallet">Generate Wallet</button>
</center>
</div>
<div id="restore" style="display: none;">
<input id="seed_phrase" type="text" style="width:100%;" value="" placeholder="Enter your seed phrase words here."/><br /><br />
<center>
<button class="btn btn-default" onclick="js:restore_keys(null);" type="button" value="Restore keys">Restore Keys</button>
</center>
</div>
</div>
</div>
<div id="step2" class="row" style="display:none;">
<div class="col-12">
<h3 class="d-print-none">Step 2</h3>
<p class="d-print-none">Write down your public address, or copy paste it somewhere. Anyone with this address can send you money.</p>
<h3 class="d-print-block">Public Address</h3>
<div class="col border border-success" style="padding: 1em;">
<center>
<strong>
<span style="font-family: monospace, monospace; word-wrap: break-word;" class="" id="address_widget">Reticulating Splines...</span>
</strong>
</center>
</div>
<!-- <p class="d-print-block">This is your wallet address. Anybody with this address can send you money.</p>
<span class="qrcode d-print-none" id="address_qr_widget" onclick="js:toggle_qr();"></span>
<br />
<center class="d-print-none">
<button class="btn btn-default" href="#" onclick="js:toggle_qr();">Click to see QR Code</button>
</center>
</div>
</div> -->
<div class="row" >
<div class="col-12">
<h3 class="d-print-none">Step 3</h3>
<h3 class="d-print-block">Seed Phrase</h3>
<p class="d-print-none">Copy your seed phrase and keys. If you lose your wallet, these can be used to restore your money. That also means you need to keep them safe and private.</p>
<p class="d-print-block">This is your seed phrase. You can use it to regenerate your wallet if you lose it.</p>
<em>
<div class="col border border-danger" style="font-family: monospace, monospace; padding: 1em;">
<strong>Seed Phrase:</strong>
<span class="private">
<span id="mnemonic_widget">Reticulating Splines...</span>
</span>
</div>
</em>
</div>
</div>
<br>
<div class="row d-print-block">
<div class="col-12">
<h3 class="d-print-block">Wallet Keys</h3>
<p>These are the keys you need to regenerate your wallet.</p>
</div>
</div>
<div class="col">
<!--p class="d-print-none">Print or write down these keys and keep them safe. Without them you cannot access your money. There are no second chances.</p-->
<div class="row border border-danger" style="padding:1em;">
<div class="col" style="overflow:visible">
<strong>Spend Key:</strong>
<span class="private">
<span style="font-family: monospace, monospace; word-wrap: break-word;" id="spend_key_widget">Generating...</span>
</span>
</div>
<div class="col" style="overflow:visible">
<strong>View Key:</strong>
<span class="private">
<span style="font-family: monospace, monospace; word-wrap: break-word;" id="view_key_widget">Generating...</span>
</span>
</div>
</div>
</div>
<div class="row d-print-none">
<div class="col-12">
<center>
<input type="button" onClick="window.print()" class="btn btn-default" value="Print This Page"/>
</center>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="iframe-buster.js"></script>
<script type="text/javascript" src="crypto_utils.js"></script>
<script type="text/javascript" src="wallet.js"></script>
</body>
</html>