4 <meta charset=
"utf-8" />
5 <title>BIP39 - Mnemonic Code
</title>
6 <link rel=
"stylesheet" href=
"/css/bootstrap.min.css">
7 <meta content=
"Mnemonic code for generating deterministic keys" name=
"description"/>
8 <meta content=
"width=device-width, initial-scale=1.0" name=
"viewport" />
9 <meta content=
"bitcoin mnemonic converter" name=
"description" />
10 <meta content=
"DC POS" name=
"author" />
16 .form-control[readonly] {
29 background-color: orange;
33 border:
2px solid #
555;
35 border-bottom-left-radius:
20px
20px;
36 border-bottom-right-radius:
20px
20px;
40 box-shadow: inset
0 1px
1px rgba(
0,
0,
0,
.0);
41 -webkit-box-shadow: inset
0 1px
1px rgba(
0,
0,
0,
.0);
46 <div class=
"container">
48 <h1 class=
"text-center">Mnemonic Code Converter
</h1>
51 <div class=
"col-md-12">
53 <form class=
"form-horizontal" role=
"form">
54 <div class=
"col-sm-2"></div>
55 <div class=
"col-sm-10">
56 <p>You can enter an existing BIP39 mnemonic, or generate a new random one. Typing your own twelve words will probably not work how you expect, since the words require a particular structure (the last word is a checksum)
</p>
57 <p>For more info see the
<a href=
"https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki" target=
"_blank">BIP39 spec
</a></p>
59 <div class=
"form-group">
60 <label for=
"phrase" class=
"col-sm-2 control-label">BIP39 Mnemonic
</label>
61 <div class=
"col-sm-10">
62 <textarea id=
"phrase" class=
"phrase form-control"></textarea>
65 <div class=
"form-group">
66 <label for=
"strength" class=
"col-sm-2 control-label">Number of words
</label>
67 <div class=
"col-sm-10">
68 <div class=
"input-group">
69 <select id=
"strength" class=
"strength form-control">
70 <option val=
"3">3</option>
71 <option val=
"6">6</option>
72 <option val=
"9">9</option>
73 <option val=
"12">12</option>
74 <option val=
"15" selected
>15</option>
75 <option val=
"18">18</option>
76 <option val=
"21">21</option>
77 <option val=
"24">24</option>
79 <span class=
"input-group-btn">
80 <button class=
"btn generate">Generate Random Mnemonic
</button>
85 <div class=
"form-group">
86 <label for=
"passphrase" class=
"col-sm-2 control-label">BIP39 Passphrase (optional)
</label>
87 <div class=
"col-sm-10">
88 <textarea id=
"passphrase" class=
"passphrase form-control"></textarea>
91 <div class=
"form-group">
92 <label for=
"network-phrase" class=
"col-sm-2 control-label">Coin
</label>
93 <div class=
"col-sm-10">
94 <select id=
"network-phrase" class=
"network form-control">
95 <!-- populated by javascript -->
99 <div class=
"form-group">
100 <label for=
"root-key" class=
"col-sm-2 control-label">BIP32 Root Key
</label>
101 <div class=
"col-sm-10">
102 <textarea id=
"root-key" class=
"root-key form-control" readonly=
"readonly"></textarea>
112 <div class=
"col-md-12">
113 <h2>Derivation Path
</h2>
114 <ul class=
"derivation-type nav nav-tabs" role=
"tablist">
115 <li id=
"bip44-tab" class=
"active">
116 <a href=
"#bip44" role=
"tab" data-toggle=
"tab">BIP44
</a>
119 <a href=
"#bip32" role=
"tab" data-toggle=
"tab">BIP32
</a>
122 <div class=
"derivation-type tab-content">
123 <div id=
"bip44" class=
"tab-pane active">
124 <form class=
"form-horizontal" role=
"form">
126 <div class=
"col-sm-2"></div>
127 <div class=
"col-sm-10">
128 <p>For more info see the
<a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki" target=
"_blank">BIP44 spec
</a></p>
130 <div class=
"form-group">
131 <label for=
"purpose" class=
"col-sm-2 control-label">
132 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#purpose" target=
"_blank">Purpose
</a>
134 <div class=
"col-sm-10">
135 <input id=
"purpose" type=
"text" class=
"purpose form-control" value=
"44">
138 <div class=
"form-group">
139 <label for=
"coin" class=
"col-sm-2 control-label">
140 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#registered-coin-types" target=
"_blank">Coin
</a>
142 <div class=
"col-sm-10">
143 <input id=
"coin" type=
"text" class=
"coin form-control" value=
"0">
146 <div class=
"form-group">
147 <label for=
"account" class=
"col-sm-2 control-label">
148 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#account" target=
"_blank">Account
</a>
150 <div class=
"col-sm-10">
151 <input id=
"account" type=
"text" class=
"account form-control" value=
"0">
154 <div class=
"form-group">
155 <label for=
"change" class=
"col-sm-2 control-label">
156 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#change" target=
"_blank">External / Internal
</a>
158 <div class=
"col-sm-10">
159 <input id=
"change" type=
"text" class=
"change form-control" value=
"0">
162 <div class=
"form-group">
163 <label for=
"bip44-path" class=
"col-sm-2 control-label">BIP32 Derivation Path
</label>
164 <div class=
"col-sm-10">
165 <input id=
"bip44-path" type=
"text" class=
"path form-control" value=
"m/44'/0'/0'/0" readonly=
"readonly">
170 <div id=
"bip32" class=
"tab-pane">
171 <form class=
"form-horizontal" role=
"form">
173 <div class=
"col-sm-2"></div>
174 <div class=
"col-sm-10">
175 <p>For more info see the
<a href=
"https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki" target=
"_blank">BIP32 spec
</a></p>
177 <div class=
"form-group">
178 <label for=
"bip32-path" class=
"col-sm-2 control-label">BIP32 Derivation Path
</label>
179 <div class=
"col-sm-10">
180 <input id=
"bip32-path" type=
"text" class=
"path form-control" value=
"m/0">
183 <div class=
"form-group">
184 <label class=
"col-sm-2 control-label">Hive Wallet
</label>
185 <div class=
"col-sm-10">
186 <p class=
"form-control no-border">
187 Use path
<code>m/
0'/
0</code>.
188 For more info see the
<a href=
"https://www.hivewallet.com/" target=
"_blank">Hive Wallet homepage
</a>
192 <div class=
"form-group">
193 <label for=
"mycelium-path" class=
"col-sm-2 control-label">Mycelium Wallet
</label>
194 <div class=
"col-sm-10">
195 <p class=
"form-control no-border">
196 Use path
<code>m/
44'/
0'/
0'/
0</code>.
197 For more info see the
<a href=
"http://www.mycelium.com/" target=
"_blank">Mycelium Wallet homepage
</a>
204 <form class=
"form-horizontal" role=
"form">
205 <div class=
"form-group">
206 <label for=
"extended-priv-key" class=
"col-sm-2 control-label">BIP32 Extended Key
</label>
207 <div class=
"col-sm-10">
208 <textarea id=
"extended-priv-key" class=
"extended-priv-key form-control" readonly=
"readonly"></textarea>
211 <div class=
"form-group">
212 <label for=
"extended-pub-key" class=
"col-sm-2 control-label">BIP32 Extended Key (addresses only)
</label>
213 <div class=
"col-sm-10">
214 <textarea id=
"extended-pub-key" class=
"extended-pub-key form-control" readonly=
"readonly"></textarea>
224 <div class=
"col-md-12">
225 <h2>Derived Addresses
</h2>
226 <p>Note these addreses are derived from the
<strong>BIP32 Extended Key
</strong></p>
227 <table class=
"table table-striped">
230 <div class=
"input-group">
232 <button class=
"index-toggle">Toggle
</button>
236 <div class=
"input-group">
238 <button class=
"address-toggle">Toggle
</button>
242 <div class=
"input-group">
243 Private Key
244 <button class=
"private-key-toggle">Toggle
</button>
248 <tbody class=
"addresses">
249 <tr><td> </td><td> </td><td> </td></tr>
250 <tr><td> </td><td> </td><td> </td></tr>
251 <tr><td> </td><td> </td><td> </td></tr>
252 <tr><td> </td><td> </td><td> </td></tr>
253 <tr><td> </td><td> </td><td> </td></tr>
258 <span>Show next
</button>
259 <input type=
"number" class=
"rows-to-add" value=
"20">
260 <button class=
"more">Show
</button>
265 <div class=
"col-md-12">
267 <h3>BIP39
<span class=
"small">Mnemonic code for generating deterministic keys
</span></h3>
270 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki">official BIP39 spec
</a>
272 <h3>BIP32
<span class=
"small">Hierarchical Deterministic Wallets
</span></h3>
275 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki" target=
"_blank">official BIP32 spec
</a>
277 <a href=
"http://bip32.org/" target=
"_blank">bip32.org
</a>
279 <h3>BIP44
<span class=
"small">Multi-Account Hierarchy for Deterministic Wallets
</span></h3>
282 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki" target=
"_blank">official BIP44 spec
</a>
284 <h3>Private Keys
</h3>
287 <a href=
"https://web.archive.org/web/20150707020924/https://brainwallet.org/" target=
"_blank">brainwallet.org
</a>,
288 but be careful - it can be easy to make mistakes if you
289 don't know what you're doing
297 <div class=
"col-md-12">
299 <h2>Offline Usage
</h2>
302 You can use this tool without having to be online.
305 In your browser, select file save-as, and save this page
309 Double-click that file to open it in a browser
310 on any offline computer.
313 Alternatively, download it from
314 <a href=
"https://github.com/dcpos/bip39">
315 https://github.com/dcpos/bip39
324 <div class=
"col-md-12">
326 <h2>This project is
100% open-source code
</h2>
329 <span>Get the source code at -
</span>
330 <a href=
"https://github.com/dcpos/bip39" target=
"_blank">
331 https://github.com/dcpos/bip39
338 <span>BitcoinJS -
</span>
339 <a href=
"https://github.com/bitcoinjs/bitcoinjs-lib" target=
"_blank">
340 https://github.com/bitcoinjs/bitcoinjs-lib
345 <span>jsBIP39 -
</span>
346 <a href=
"https://github.com/iancoleman/jsbip39" target=
"_blank">
347 https://github.com/iancoleman/jsbip39
353 <a href=
"https://github.com/bitwiseshiftleft/sjcl" target=
"_blank">
354 https://github.com/bitwiseshiftleft/sjcl
359 <span>jQuery -
</span>
360 <a href=
"https://jquery.com/" target=
"_blank">
366 <span>Twitter Bootstrap -
</span>
367 <a href=
"http://getbootstrap.com/" target=
"_blank">
368 http://getbootstrap.com/
377 <div class=
"feedback-container">
378 <div class=
"feedback">Loading...
</div>
381 <script type=
"text/template" id=
"address-row-template">
383 <td class=
"index"><span></span></td>
384 <td class=
"address"><span></span></td>
385 <td class=
"privkey"><span></span></td>
388 <script src=
"/js/jquery.min.js"></script>
389 <script src=
"/js/bootstrap.min.js"></script>
390 <script src=
"/js/bitcoinjs-1-5-7.js"></script>
391 <script src=
"/js/bitcoinjs-extensions.js"></script>
392 <script src=
"/js/sjcl-bip39.js"></script>
393 <script src=
"/js/wordlist_english.js"></script>
394 <script src=
"/js/jsbip39.js"></script>
395 <script src=
"/js/index.js"></script>