Skip to content

Commit f5fef18

Browse files
Merge branch 'release/v1.0.30'
2 parents 8f078cd + ee77f17 commit f5fef18

36 files changed

+3679
-898
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,9 @@ COLDCARD copy correctly derives the seed but then generates addresses from a dif
130130
``` shell_session cSpell:disable
131131
$ npx verify-coldcard-dice-seed@latest
132132
Need to install the following packages:
133-
verify-coldcard-dice-seed@1.0.29
133+
verify-coldcard-dice-seed@1.0.30
134134
Ok to proceed? (y) y
135-
*** Verify COLDCARD Dice Seed v1.0.29 ***
135+
*** Verify COLDCARD Dice Seed v1.0.30 ***
136136
(tested with COLDCARD Mk4 firmware v5.2.2)
137137
138138
This application guides you through verifying that your COLDCARD

cspell.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"bech",
55
"bitcoinjs",
66
"coldcard",
7+
"preact",
78
"secp",
89
"utxo",
910
"VERSIONCONSTANT",

index.html

Lines changed: 2 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -6,89 +6,15 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77
<title>Verify COLDCARD Dice Seed</title>
88
<meta name="description" content="Verify COLDCARD Dice Seed">
9-
<script type="module" src="src/site.ts"></script>
9+
<script type="module" src="src/site/main.tsx"></script>
1010
<link rel="stylesheet" href="node_modules/@picocss/pico/css/pico.min.css">
1111
<style>
1212
.monospace { font-family: 'Courier New', Courier, monospace; }
1313
</style>
1414
</head>
1515

1616
<body>
17-
<main class="container">
18-
<section>
19-
<hgroup>
20-
<h1>Verify COLDCARD Dice Seed</h1>
21-
<p><span>v1.0.29</span></p>
22-
</hgroup>
23-
<p>The COLDCARD manufacturer
24-
<a href="https://coldcardwallet.com/docs/verifying-dice-roll-math" target="_blank">provides instructions</a>
25-
on how to verify dice seed derivation with a Python script. This site offers a user-friendlier way to do the
26-
same and goes one step further: It also allows you to verify the receive addresses derived from the seed. Step
27-
by step guidance for the COLDCARD is available through the
28-
<a href="https://www.npmjs.com/package/verify-coldcard-dice-seed" target="_blank">verify-coldcard-dice-seed</a>
29-
Node.js application. See
30-
<a href="https://www.npmjs.com/package/verify-coldcard-dice-seed#motivation" target="_blank">Motivation</a> for
31-
technical details.</p>
32-
<p>
33-
<mark>CAUTION: The very point of a COLDCARD is that the seed (usually expressed as a 12 word mnemonic) of a real
34-
wallet <b>never</b> appears on any other device. You should therefore only use this application to verify
35-
the seed and address derivation of your COLDCARD. Once you are convinced that your COLDCARD works correctly,
36-
you should then generate the seed of your real wallet on your COLDCARD only. Since the COLDCARD electronics
37-
has no way of knowing whether you're verifying seed derivation or generating a real wallet, you can be
38-
reasonably sure that your real wallet was indeed derived from the dice entropy you entered.</mark>
39-
</p>
40-
<br>
41-
<form>
42-
<label for="generate-24-words">
43-
<input id="generate-24-words" type="checkbox" role="switch">
44-
Generate 24 words (instead of the standard 12)
45-
</label>
46-
<br>
47-
<label for="dice-rolls">
48-
Dice Rolls (1-6)
49-
<input id="dice-rolls" type="text" placeholder="31415..." pattern="[1-6]*" required>
50-
</label>
51-
<label for="passphrase">
52-
Passphrase
53-
<input id="passphrase" type="text">
54-
</label>
55-
<div id="rolls-count" class="monospace"></div>
56-
<div id="hash" class="monospace"></div>
57-
</form>
58-
</section>
59-
<section>
60-
<h2>Seed</h2>
61-
<div class="monospace">
62-
<div class="grid">
63-
<span id="word01"></span><span id="word02"></span>
64-
<span id="word03"></span><span id="word04"></span>
65-
</div>
66-
<div class="grid">
67-
<span id="word05"></span><span id="word06"></span>
68-
<span id="word07"></span><span id="word08"></span>
69-
</div>
70-
<div class="grid">
71-
<span id="word09"></span><span id="word10"></span>
72-
<span id="word11"></span><span id="word12"></span>
73-
</div>
74-
<div class="grid">
75-
<span id="word13"></span><span id="word14"></span>
76-
<span id="word15"></span><span id="word16"></span>
77-
</div>
78-
<div class="grid">
79-
<span id="word17"></span><span id="word18"></span>
80-
<span id="word19"></span><span id="word20"></span>
81-
</div>
82-
<div class="grid">
83-
<span id="word21"></span><span id="word22"></span>
84-
<span id="word23"></span><span id="word24"></span>
85-
</div>
86-
</div>
87-
</section>
88-
<section>
89-
<h2>Addresses</h2>
90-
<div id="addresses" class="monospace"></div>
91-
</section>
17+
<main id="main" class="container">
9218
</main>
9319
</body>
9420

0 commit comments

Comments
 (0)