-
Notifications
You must be signed in to change notification settings - Fork 20
/
last-word.html
executable file
·282 lines (275 loc) · 10.8 KB
/
last-word.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title></title>
<script src="bundle.js"></script>
<script
src="https://www.googletagmanager.com/gtag/js?id=UA-115028432-1"
async
></script>
<script>
const $ = require("jquery");
$(document).ready(() => {
require("presentation").init();
});
</script>
<link href="../css/seedpicker.css" rel="stylesheet" type="text/css" />
<link href="../css/all.min.css" rel="stylesheet" type="text/css" />
<link href="../css/mystyles.css" rel="stylesheet" type="text/css" />
<link
href="../css/bulma-tooltip.min.css"
rel="stylesheet"
type="text/css"
/>
</head>
<body>
<section class="hero is-info">
<div class="hero-body">
<div class="container">
<h1 class="title page_heading"></h1>
<h2 class="subtitle page_subtitle"></h2>
</div>
</div>
</section>
<div class="container is-fluid">
<div id="main_div">
<div class="modal" id="modal01">
<div class="modal-background"></div>
<div class="modal-content">
<div class="box">
<div class="box">
<div class="columns">
<div div class="column is-three-fifths">
<div id="qr_code" class="content"></div>
</div>
<div div class="column is-two-fifths">
<div class="section is-small mx-3">
<p class="is-bold is-size-5">
QR code for exporting public key info to Specter
</p>
<p class="is-bold is-size-7">
After scanning, verify that the key info in Specter is
the same as in SeedPicker!
</p>
</div>
</div>
</div>
</div>
<div class="box">
<p id="qr_text" class="is-size-7 wrap-long"></p>
</div>
</div>
</div>
<button class="modal-close is-large" aria-label="close"></button>
</div>
<div class="tighter_section">
Want to create your own 24 word Seed Phrase for your Bitcoin wallet?
You can select the first 23 from
<a
href="https://github.com/bitcoin/bips/blob/master/bip-0039/english.txt"
>the official list of 2048 words</a
>, but the 24th word must be calculated. This is what SeedPicker can
help you with. You will also get the corresponding Extended Public
Key, which will enable you to create multisig wallets without needing
a hardware wallet (or together with hardware wallets)
</div>
<div class="tighter_section">
<div class="is-italic">
Make sure your 23 words are generated in a random and secure
fashion! Read
<a href="https://seedpicker.net/guide/GUIDE.html">the guide</a> for
how to accomplish this.<br />
</div>
</div>
<div class="tighter_section">
<div>
SeedPicker has been developed and tested to work well with
<a href="https://github.com/cryptoadvance/specter-desktop"
>Specter Desktop</a
>.
</div>
<div>
SeedPicker is 100% Open Source software.
<a href="https://github.com/merland/seedpicker"
>Requests or contributions are always welcome!</a
>
</div>
</div>
<div id="warning" class="tighter_section has-text-weight-bold">
<div class="columns is-multiline">
<div class="column is-7">
<article class="message is-danger is-small">
<div class="message-header">
<p>Warning</p>
</div>
<div class="message-body">
This page is designed to be used on an offline and fully
secure computer.<br />
You can try it out in online mode, but before using it for
amounts you are not ready to lose, you should go offline. Read
and follow all instructions in either the
<a href="https://seedpicker.net/guide/GUIDE.html"
>SeedPicker Guide</a
>, or the
<a href="https://btcguide.github.io/setup-wallets/paper"
>10x Security Bitcoin Guide</a
>.
</div>
</article>
</div>
</div>
</div>
<div class="tighter_section">
<div class="field">
<div class="is-pulled-right sample_label">
<div id="sample_phrase" class="column">
<p class="is-size-7 is-pulled-right">
Generate sample (only for testing!)
</p>
</div>
</div>
<label class="label input_label"
>Fill in your first 23 words (space separated)</label
>
<div class="field has-addons">
<div class="control is-expanded">
<input
id="seedphrase_input"
class="input has-background-light"
type="text"
required
/>
<p id="seed_error_msg" class="help is-danger"></p>
</div>
<div class="control">
<button id="seed-submit" class="button is-info" name="submit">
Calculate!
</button>
</div>
</div>
</div>
</div>
<div id="results" class="tighter_section is-hidden">
<div>
<span class="resultheading">
Your 24th word is
<span
id="checksum_word"
class="has-text-weight-bold is-size-5"
></span>
<sup>
<span
class="icon is-small tooltip has-tooltip-multiline has-tooltip-arrow"
data-tooltip="Use this word as the 24th word of your seed phrase. More than one word may
be valid, but for consistency SeedPicker always generates the same 24th word."
onclick=""
>
<i class="fas fa-question-circle"></i>
</span>
</sup>
</span>
</div>
<!-- </span>-->
<div class="resultheading">Full seed phrase</div>
<div id="complete_phrase" class="has-text-weight-bold"></div>
<div class="tighter_section"></div>
<div class="tighter_section"></div>
<div id="specter_export_components" class="container">
<div class="notification is-info-light">
<div class="is-bold is-size-4">
Export Public Key Info To Specter Desktop
</div>
<div class="is-italic">
This box contains everything you need to export your extended
public key to Specter Desktop.
</div>
<div class="is-italic"></div>
<div> </div>
<span id="extended_pub_heading" class="resultheading"></span>
<div class="extended_pub">
<div>
<span
id="extended_pub_result"
class="has-text-weight-bold wrap-long"
></span>
</div>
<div> </div>
<span class="resultheading">Root Key Fingerprint</span>
<sup
><span
class="icon is-small tooltip has-tooltip-multiline has-tooltip-arrow"
data-tooltip="An 8-character fingerprint of the root XPUB (before any derivation path was applied)"
onclick=""
>
<i class="fas fa-question-circle"></i> </span
></sup>
<div id="root_fingerprint" class="has-text-weight-bold"></div>
</div>
<div> </div>
<span class="resultheading">
Derivation Path
</span>
<sup>
<span
class="icon is-small has-tooltip-multiline has-tooltip-arrow"
data-tooltip="Selected to match the default value used by Specter Desktop
in multisig schemes"
onclick=""
><i class="fas fa-question-circle"></i>
</span>
</sup>
<div id="derivation_path" class="has-text-weight-bold"></div>
<div class="section">
<div class="container">
<div class="columns is-centered">
<div class="column is-half">
<div id="export_file_button">
<button class="button is-black is-fullwidth my-3">
<span class="icon is-small">
<i class="fas fa-file-download "></i>
<div>  Download</div>
</span>
</button>
</div>
<div id="qr_code_button" class="qrcodebutton">
<button class="button is-black is-fullwidth my-3">
<span class="icon is-small">
<i class="fas fa-qrcode"></i>
</span>
<span>Show QR</span>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="tighter_section"></div>
</div>
<button id="toggle_advanced_btn" class="button is-info"></button>
<div id="container">
<div id="advanced" class="tighter_section is-hidden">
<div class="resultheading">Network</div>
<div>
<div
id="network"
class="is-pulled-left has-text-weight-bold"
></div>
<div id="networkswitchlink" class="is-pulled-left"></div>
<div class="is-clearfix"></div>
</div>
<div class="resultheading">
Extended Public Key in base format (xpub for mainnet and tpub
for testnet)
</div>
<div id="xpub_key" class="has-text-weight-bold wrap-long"></div>
</div>
<div class="tighter_section"></div>
</div>
</div>
</div>
</div>
</body>
</html>