-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbitcoinedge_keio_hd.html
658 lines (544 loc) · 27 KB
/
bitcoinedge_keio_hd.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
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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>HD Wallets</title>
<link rel="stylesheet" href="css/reveal.css">
<link rel="stylesheet" href="css/theme/simple.css">
<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="lib/css/xcode.css">
<!-- Theme override for teachbitcoin -->
<link rel="stylesheet" href="css/teachbitcoin.css">
<!-- Google Font Roboto -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,600" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono" rel="stylesheet">
</head>
<body>
<div class="reveal">
<div class="slides">
<!-- *********** BEGIN: HD Wallets Cover *********** -->
<section class ="box">
<img src="images/bitcoinedge_tokyo/bitcoinedge_hd_wallets_cover.svg" class = "image" style = "z-index: -1;">
</section>
<!-- *********** END: HD Wallets Cover *********** -->
<!-- *********** BEGIN: HD Entropy to Mnemonics *********** -->
<section class = "box">
<div class = "title">
<span class = "title weight">Mnemonic Key Words</span> (BIP39)
</div>
<!-- Derivation Graphic -->
<img src="images/wallets/mnemonics0.svg" class = "image" style = "z-index: -1;">
<img src="images/wallets/mnemonics1.svg" class = "fragment image" style = "z-index: -1;">
<img src="images/wallets/mnemonics2.svg" class = "fragment image" style = "z-index: -1;">
<img src="images/wallets/mnemonics3.svg" class = "fragment image" style = "z-index: -1;">
<!-- 2 column container -->
<!-- 45% div for formula and curve--><!-- 45% text & bulletpoint -->
<div class = "multi_text_box_container" style = "padding: 40px 0 0 0; width: 1270px;">
<!-- 45% div for formula and curve-->
<div class = "" style = "width: 60%; font-size: 22px;">
<div style ="text-align: center;">
</div>
</div>
<!-- 45% text & bulletpoint -->
<div class = "text_box"
style = "width: 37%; font-size: 20px; margin: 0px 0 0 0">
<ul style = "margin: 0; padding: 0px; list-style-type: none;">
<li>Mnemonics are a user-friendly way to encode <br>a secret root seed for a wallet.</li>
<hr style = "height:5px; visibility:hidden;">
<li style = "font-weight: bold;">Generate SHA256 checksum</li>
<ul>
<li>Secret lengths: 128, 160, 192, 224, 256 bits</li>
<li>Checksum lengths: 4, 5, 6, 7, 8 bits</li>
<li>Checksum length = secret length / 32
</ul>
<hr style = "height: 5px; visibility: hidden;">
<li style = "font-weight: bold;">Split into 11-bit chunks</li>
<li></li>
<li>Sequence of 11-bit chunks needs to be maintained.</li>
<hr style = "height: 5px; visibility: hidden;">
<li style = "font-weight: bold;">11-bit to word mapping</li>
<li></li>
<li>There are multiple languages mappings available to translate
11-bit chunks into words (BIP39).</li>
<br>
</ul>
</div>
</div><!-- End of 2 column container -->
</section>
<!-- *********** END: HD Entropy to Mnemonics *********** -->
<!-- *********** BEGIN: HD Mnemonics to 512bits seed *********** -->
<section class = "box">
<div class = "title">
<span class = "title weight">Mnemonics-to-Seed</span> (BIP39)
</div>
<!-- Derivation Graphic -->
<img src="images/wallets/mnemonics_to_seed0.svg" class = "image" style = "z-index: -1;">
<img src="images/wallets/mnemonics_to_seed1.svg" class = "fragment image" style = "z-index: -1;">
<!-- 2 column container -->
<!-- 45% div for formula and curve--><!-- 45% text & bulletpoint -->
<div class = "multi_text_box_container" style = "padding: 178px 0 0 0; width: 1270px;">
<!-- 45% div for formula and curve-->
<div class = "" style = "width: 60%; font-size: 22px;">
<div style ="text-align: center;">
</div>
</div>
<!-- 45% text & bulletpoint -->
<div class = "text_box"
style = "width: 37%; font-size: 20px; margin: 0px 0 0 0">
<ul style = "margin: 0; padding: 0px; list-style-type: none;">
<li style = "font-weight: bold;">Password-Based Key Derivation Function 2</li>
<ul>
<li>2048 rounds of HMAC-SHA512</li>
<li>Password: mnemonic sentence</li>
<li>Salt: "mnemonic" + passphrase</li>
<li>(Password & salt encoded in UTF-8 NFKD)</li>
</ul>
<hr style = "height: 5px; visibility: hidden;">
<li style = "font-weight: bold;">512-bit hash digest</li>
<ul>
<li>Seed for the creation of a wallet</li>
</ul>
</ul>
</div>
</div><!-- End of 2 column container -->
</section>
<!-- *********** END: HD Mnemonics to 512bits seed *********** -->
<!-- *********** Begin: Hierarchical Deterministic Wallets *********** -->
<section class = "box">
<div class = "title">
<span class = "title weight">Hierarchical Deterministic</span> Wallets (BIP32)
</div>
<!-- Derivation Graphic -->
<img src="images/wallets/hd_wallets0.svg" class = "image" style = "z-index: -1;">
<img src="images/wallets/hd_wallets1.svg" class = "fragment image" style = "z-index: -1;">
<img src="images/wallets/hd_wallets2.svg" class = "fragment image" style = "z-index: -1;">
<!-- 2 column container -->
<!-- 45% div for formula and curve--><!-- 45% text & bulletpoint -->
<div class = "multi_text_box_container" style = "padding: 40px 0 0 0; width: 1350px;">
<!-- 45% div for formula and curve-->
<div class = "" style = "width: 50%;">
</div>
<!-- 45% text & bulletpoint -->
<div class = "text_box"
style = "width: 37%; font-size: 22px; margin: 0px 0 0 0">
<ul style = "margin: 0; padding: 0px; list-style-type: none;">
<li>HD wallets (BIP32) can deterministically derive an indefinite number of fresh addresses
from a single wallet secret.</li><br>
<li style = "font-weight: bold;">HD Tree</li>
<ul>
<li>Fresh addresses to improve privacy.</li>
<li>HD Tree is derived from Master Keys.</li>
<li>HD Tree can be reconstructed from master Keys (given tree structure).</li>
</ul>
<hr style = "height: 5px; visibility: hidden;">
<li style = "font-weight: bold;">Master keys</li>
<ul>
<li>Derived from HD root secret.</li>
</ul>
<hr style = "height: 5px; visibility: hidden;">
<li style = "font-weight: bold;">Subtrees</li>
<ul>
<li>Allow separation of keys for accounts/usages.</li>
<li>Selective key sharing.</li>
</ul>
</div>
</div><!-- End of 2 column container -->
</section>
<!-- *********** END: Hierarchical Deterministic Wallets *********** -->
<!-- *********** BEGIN: Master Key Deriviation *********** -->
<section class = "box">
<div class = "title">
<span class = "title weight">Master Key Pair </span>Derivation
</div>
<!-- Derivation Graphic -->
<img src="images/wallets/hd_master_keys0.svg" class = "image" style = "z-index: -2;">
<img src="images/wallets/hd_master_keys1.svg" class = "fragment image" style = "z-index: -2;">
<!-- 2 column container -->
<!-- 45% div for formula and curve--><!-- 45% text & bulletpoint -->
<div class = "multi_text_box_container" style = "padding: 180px 0 0 0; width: 1270px;">
<!-- 45% div for formula and curve-->
<div class = "" style = "width: 55%; font-size: 22px;">
<div style ="text-align: center;">
</div>
</div>
<!-- 45% text & bulletpoint -->
<div class = "text_box"
style = "width: 37%; font-size: 20px; margin: 0px 0 0 0">
<ul style = "margin: 0; padding: 0px; list-style-type: none;">
<li>The master key pair is dervied from the HD root secret, and together with the chaincode,
provides the basis for deriving subsequent child key generations.
</li>
<br>
<li style = "font-weight: bold;">HMAC-SHA512</li>
<ul>
<li>512 bit hash digest is split into <br>left and right 256 bits.
<li>Right 256 bits are chaincode, used in <br>child key derivation.</li>
</ul>
</ul>
</div>
</div><!-- End of 2 column container -->
</section>
<!-- *********** END: Master Key Deriviation *********** -->
<!-- *********** BEGIN: HD Child Derivation *********** -->
<section class = "box">
<div class = "title">
<span class = "title weight">Child Key Pair</span> Derivation
</div>
<!-- Derivation Graphic -->
<!-- <img src="images/wallets/hd_child_private.svg" class = "image" style = "z-index: -2;"> -->
<!-- 2 column container -->
<!-- 45% div for formula and curve--><!-- 45% text & bulletpoint -->
<div class = "multi_text_box_container" style = "padding: 80px 0 0 0; width: 1270px;">
<!-- 60% div for formula and curve-->
<div class = "" style = "width: 58%; font-size: 22px;">
<img src="images/wallets/hd_child_keys0.svg" class = "image" style = "z-index: -3;">
<img src="images/wallets/hd_child_keys1.svg" class = "fragment image" style = "z-index: -2;">
<img src="images/wallets/hd_child_keys2.svg" class = "fragment image" style = "z-index: -1;">
<img src="images/wallets/hd_child_keys3.svg" class = "fragment image" style = "z-index: -1;">
<img src="images/wallets/hd_child_keys4.svg" class = "fragment image" style = "z-index: -1;">
</div>
<!-- 45% text & bulletpoint -->
<div class = "text_box"
style = "width: 37%; font-size: 22px; margin: 0px 0 0 0">
<ul style = "margin: 0; padding: 0px; list-style-type: none;">
<li>Hierarchical deterministic (child) private keys are derived from parent private keys.</li>
<hr style = "height:5px; visibility:hidden;">
<li style = "font-weight: bold;">HMAC SHA512</li>
<ul>
<li>Key: Parent chaincode</li>
<li>Data: Parent public Key || Index</li>
</ul>
<hr style = "height:5px; visibility:hidden;">
<li style = "font-weight: bold;">Addition of two 256bit scalars</li>
<ul>
<li>Private key + L256</li>
<li>Result: Child private key</li>
</ul>
<hr style = "height:5px; visibility:hidden;">
<li style = "font-weight: bold;">Parent public key to child public key</li>
<ul>
<li>HD child public key derivation <br>without parent private key.
</ul>
<hr style = "height:5px; visibility:hidden;">
</ul>
</div>
</div><!-- End of 2 column container -->
</section>
<!-- *********** END: HD HD Child Derivation *********** -->
<!-- *********** BEGIN: HD Derivation Path *********** -->
<section class = "box">
<div class = "title">
<span class = "title weight">HD Derivation Paths</span>
</div>
<!-- 2 column container -->
<!-- 45% div for formula and curve--><!-- 45% text & bulletpoint -->
<div class = "multi_text_box_container" style = "padding: 60px 0 0 0; width: 1270px;">
<!-- 60% div for formula and curve-->
<div class = "" style = "width: 58%; font-size: 22px;">
<img src="images/wallets/hd_child_derivation_path.svg" class = "image" style = "z-index: -3;">
<img src="images/wallets/hd_child_derivation_path_step1.svg" class = "fragment image" style = "z-index: -2;">
<img src="images/wallets/hd_child_derivation_path_step2.svg" class = "fragment image" style = "z-index: -1;">
</div>
<!-- 45% text & bulletpoint -->
<div class = "text_box"
style = "width: 37%; font-size: 22px; margin: 0px 0 0 0">
<ul style = "margin: 0; padding: 0px; list-style-type: none;">
<hr style = "height:5px; visibility:hidden;">
<li style = "font-weight: bold;">Parent-to-child derivation</li>
<ul>
<li>Parent private to child private key</li>
<li>Parent public to child public key</li>
</ul>
<hr style = "height:5px; visibility:hidden;">
<li style = "font-weight: bold;">Firewall between private and public <br>key derivation paths</li>
<ul>
<li>Creation of new addresses can be delegated safely.</li>
<li>Example: Creation of new receiving addresses by frontend.</li>
</ul>
<hr style = "height:5px; visibility:hidden;">
<li style = "font-weight: bold;">XPRV & XPUB keys</li>
<ul>
<li>Chaincode</li>
<li>+ Private or public key</li>
</ul>
<hr style = "height:5px; visibility:hidden;">
</ul>
</div>
</div><!-- End of 2 column container -->
</section>
<!-- *********** END: HD Derivation Path *********** -->
<!-- *********** BEGIN: Extended Key Format *********** -->
<section class = "box">
<div class = "title">
<span class = "title weight">Extended Key</span> Format
</div>
<img src="images/wallets/hd_extended_keys0.svg" class = "image" style = "z-index: -1;">
<img src="images/wallets/hd_extended_keys1.svg" class = "fragment image" style = "z-index: -1;">
<img src="images/wallets/hd_extended_keys2.svg" class = "fragment image" style = "z-index: -1;">
<img src="images/wallets/hd_extended_keys3.svg" class = "fragment image" style = "z-index: -1;">
</section>
<!-- *********** END: Extended Key Format *********** -->
<!-- *********** BEGIN: HD Key Exposure *********** -->
<section class = "box">
<div class = "title">
Upstream<span class = "title weight"> Private Key Exposure</span>
</div>
<!-- Derivation Graphic -->
<img src="images/wallets/hd_xkey_exposure0.svg" class = "image" style = "z-index: -3;">
<img src="images/wallets/hd_xkey_exposure1.svg" class = "fragment image" style = "z-index: -2;">
<img src="images/wallets/hd_xkey_exposure2.svg" class = "fragment image" style = "z-index: -1;">
<!-- 2 column container -->
<!-- 45% div for formula and curve--><!-- 45% text & bulletpoint -->
<div class = "multi_text_box_container" style = "padding: 40px 0 0 0; width: 1270px;">
<!-- 45% div for formula and curve-->
<div class = "" style = "width: 55%; font-size: 22px;">
<div style ="text-align: center;">
</div>
</div>
<!-- 45% text & bulletpoint -->
<div class = "text_box"
style = "width: 37%; font-size: 22px; margin: 0px 0 0 0">
<ul style = "margin: 0; padding: 0px; list-style-type: none;">
<li style = "font-weight: bold;">1) Parent XPUB + private child exposure.</li>
<ul>
<li>Public keys are potentially public.</li>
<li>Child private key is exposed.</li>
</ul>
<hr style = "height: 5px; visibility: hidden;">
<li style = "font-weight: bold;">2) Child XPUB is exposed.</li>
<ul>
<li>L256 is derived.</li>
<li>Both child XPRV and XPUB <br>are now exposed.</li>
</ul>
<hr style = "height: 5px; visibility: hidden;">
<li style = "font-weight: bold;">3) Parent private key is exposed.</li>
<ul>
<li>Complete HD subtree is exposed.</li>
</ul>
<hr style = "height: 5px; visibility: hidden;">
</ul>
</div>
</div><!-- End of 2 column container -->
</section>
<!-- *********** END: HD Key Exposure *********** -->
<!-- *********** BEGIN: HD Key Exposure Path *********** -->
<section class = "box">
<div class = "title">
Upstream<span class = "title weight"> Private Key Exposure</span> 2
</div>
<!-- Derivation Graphic -->
<img src="images/wallets/hd_xkey_exposure_path0.svg" class = "image" style = "z-index: -2;">
<img src="images/wallets/hd_xkey_exposure_path1.svg" class = "fragment image" style = "z-index: -1;">
<img src="images/wallets/hd_xkey_exposure_path2.svg" class = "fragment image" style = "z-index: -1;">
<img src="images/wallets/hd_xkey_exposure_path3.svg" class = "fragment image" style = "z-index: -1;">
<img src="images/wallets/hd_xkey_exposure_path4.svg" class = "fragment image" style = "z-index: -1;">
<!-- 2 column container -->
<!-- 45% div for formula and curve--><!-- 45% text & bulletpoint -->
<div class = "multi_text_box_container" style = "padding: 100px 0 0 0; width: 1270px;">
<!-- 45% div for formula and curve-->
<div class = "" style = "width: 55%; font-size: 22px;">
<div style ="text-align: center;">
</div>
</div>
<!-- 45% text & bulletpoint -->
<div class = "text_box"
style = "width: 36%; font-size: 20px; margin: 0px 0 0 0">
<ul style = "margin: 0; padding: 0px; list-style-type: none;">
<li style = "font-weight: bold;">1) Parent XPUB + private child exposure.</li>
<ul>
<li>Chaincode is identical for all keys of the same generation.</li>
</ul>
<hr style = "height: 5px; visibility: hidden;">
<li style = "font-weight: bold;">2) All child public keys are exposed.</li>
<ul>
<li>All child chain codes are exposed.</li>
</ul>
<hr style = "height: 5px; visibility: hidden;">
<li style = "font-weight: bold;">3) Parent Private Key is exposed.</li>
<ul>
<li>Complete HD subtree is exposed.</li>
</ul>
<hr style = "height: 5px; visibility: hidden;">
</ul>
</div>
</div><!-- End of 2 column container -->
</section>
<!-- *********** END: HD Key Exposure Path *********** -->
<!-- *********** BEGIN: HD Hardened Child *********** -->
<section class = "box">
<div class = "title">
<span class = "title weight">Hardened HD Children</span>
</div>
<!-- Derivation Graphic -->
<img src="images/wallets/hd_hardened_child0.svg" class = "image" style = "z-index: -3;">
<img src="images/wallets/hd_hardened_child1.svg" class = "fragment image" style = "z-index: -2;">
<img src="images/wallets/hd_hardened_child2.svg" class = "fragment image" style = "z-index: -1;">
<img src="images/wallets/hd_hardened_child3.svg" class = "fragment image" style = "z-index: -1;">
<!-- 2 column container -->
<!-- 45% div for formula and curve--><!-- 45% text & bulletpoint -->
<div class = "multi_text_box_container" style = "padding: 40px 0 0 0; width: 1270px;">
<!-- 45% div for formula and curve-->
<div class = "" style = "width: 55%; font-size: 22px;">
<div style ="text-align: center;">
</div>
</div>
<!-- 45% text & bulletpoint -->
<div class = "text_box"
style = "width: 37%; font-size: 21px; margin: 45px 0 0 0">
<ul style = "margin: 0; padding: 0px; list-style-type: none;">
<li style = "font-weight: bold;">Child private key hardening</li>
<ul>
<li>Parent public key replaces private key.</li>
<li>HMAC512:</li>
<ul>
<li>Key: parent chaincode</li>
<li>Data: 0x00 || private key || index</li>
</ul>
<li>Hardened Index Notation: </li>
<ul>
<li>i' = i + 2^31</li>
</ul>
</ul>
<hr style = "height: 5px; visibility: hidden;">
<li class = "weight">Hardened public keys.</li>
<ul>
<li>Cannot derive any children.</li>
<li>Derived only from hardened <br>parent child key.</li>
</ul>
</ul>
</div>
</div><!-- End of 2 column container -->
</section>
<!-- *********** END: HD Hardened Child *********** -->
<!-- *********** BEGIN: HD Hardened Path *********** -->
<section class = "box">
<div class = "title">
<span class = "title weight">Hardened HD Key Path</span>
</div>
<!-- Derivation Graphic -->
<img src="images/wallets/hd_hardened_child_path.svg" class = "image" style = "z-index: -2;">
<!-- 2 column container -->
<!-- 45% div for formula and curve--><!-- 45% text & bulletpoint -->
<div class = "multi_text_box_container" style = "padding: 40px 0 0 0; width: 1270px;">
<!-- 45% div for formula and curve-->
<div class = "" style = "width: 55%; font-size: 22px;">
<div style ="text-align: center;">
</div>
</div>
<!-- 45% text & bulletpoint -->
<div class = "text_box"
style = "width: 34%; font-size: 20px; margin: 0px 0 0 0">
<ul style = "margin: 0; padding: 0px; list-style-type: none;">
<li style = "font-weight: bold;">Hardened Child Keys break XPUB derivation paths</li>
<ul>
<li>Hardened keys denoted with prime′</li>
<li>Although the parent keys are hardened, note that children keys
mustn't necessarily be hardened, as shown here.</li>
<li>This means the child XPUB keys in this example can derive grandchildren XPUB keys.</li>
</ul>
<li><span style = "font-weight: bold;">Note:</span> In the case of key exposure in any of the subsequent child generations,
the upstream key exposure cannot propgate up to the hardened parent key.</li>
</ul>
</div>
</div><!-- End of 2 column container -->
</section>
<!-- *********** END: HD Hardened Path *********** -->
<!-- *********** BEGIN: HD Derivation Paths *********** -->
<section class = "box">
<div class = "title">
<span class = "title weight"> HD Wallet Tree Structure</span> (BIP44/43)
</div>
<!-- Derivation Graphic -->
<img src="images/wallets/hd_wallet_derivation_paths.svg" class = "image" style = "z-index: -2;">
<!-- 2 column container -->
<!-- 45% div for formula and curve--><!-- 45% text & bulletpoint -->
<div class = "multi_text_box_container" style = "padding: 40px 0 0 0; width: 1270px;">
<!-- 45% div for formula and curve-->
<div class = "" style = "width: 55%; font-size: 22px;">
<div style ="text-align: center;">
</div>
</div>
<!-- 45% text & bulletpoint -->
<div class = "text_box"
style = "width: 45%; font-size: 22px; margin: 32px 0 0 0">
<ul style = "margin: 0; padding: 0px; list-style-type: none;">
<li style = "font-weight: bold;"><span class = "circled_number">➊</span> Purpose</li>
<ul><li>Always set to a hardened 44′ (BIP44/43).</li></ul>
<hr style = "height: 5px; visibility: hidden;">
<li style = "font-weight: bold;"><span class = "circled_number">➋</span> Network</li>
<ul>
<li>Mainnet: 0′ </li>
<li>Testnet: 1′</li>
</ul>
<hr style = "height: 5px; visibility: hidden;">
<li style = "font-weight: bold;"><span class = "circled_number">➌</span> Account</li>
<ul><li>Individual Wallet Accounts.</li></ul>
<hr style = "height: 5px; visibility: hidden;">
<li style = "font-weight: bold;"><span class = "circled_number">➍</span> Receiving/Change Addresses</li>
<ul>
<li>Keys of receiving address: 0 (unhardened)</li>
<li>Keys of change address: 1 (unhardened)</li>
</ul>
<hr style = "height: 5px; visibility: hidden;">
<li style = "font-weight: bold;"><span class = "circled_number">➎</span> Address Index</li>
</ul>
</div>
</div><!-- End of 2 column container -->
</section>
<!-- *********** END: HD Derivation Paths *********** -->
<!-- *********** BEGIN: Restoring HD Wallets *********** -->
<section class = "box">
<div class = "title">
<span class = "title weight">HD Wallet Restoration</span>
</div>
<!-- Derivation Graphic -->
<img src="images/wallets/hd_restore0.svg" class = "image" style = "z-index: -2;">
<img src="images/wallets/hd_restore1.svg" class = "fragment image" style = "z-index: -2;">
<img src="images/wallets/hd_restore2.svg" class = "fragment image" style = "z-index: -2;">
<img src="images/wallets/hd_restore3.svg" class = "fragment image" style = "z-index: -2;">
</section>
<!-- *********** END: Restoring HD Wallets *********** -->
</div><!-- END: Slides Div -->
</div><!-- END: Reveal Div -->
<script src="lib/js/head.min.js"></script>
<script src="js/reveal.js"></script>
<script>
// More info about config & dependencies:
// - https://github.com/hakimel/reveal.js#configuration
// - https://github.com/hakimel/reveal.js#dependencies
Reveal.initialize({
dependencies: [
{ src: 'plugin/markdown/marked.js' },
{ src: 'plugin/markdown/markdown.js' },
{ src: 'plugin/notes/notes.js', async: true },
{ src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: 'plugin/math/math.js', async: true }
],
math: {
mathjax: 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js',
config: 'TeX-AMS_HTML-full' // See http://docs.mathjax.org/en/latest/config-files.html
},
previewLinks: true,
// Push each slide change to the browser history
history: true,
// Enable keyboard shortcuts for navigation
keyboard: true,
// Enables touch navigation on devices with touch input
overview: false,
touch: false,
// The "normal" size of the presentation, aspect ratio will be preserved
// when the presentation is scaled to fit different resolutions. Can be
// specified using percentage units.
width: 1366,
height: 768,
// Factor of the display size that should remain empty around the content
margin: 0.05,
// Bounds for smallest/largest possible scale to apply to content
minScale: 0.2,
maxScale: 1.5
});
Reveal.configure({ slideNumber: true });
</script>
</body>
</html>