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 <input type=
"number" class=
"strength form-control" id=
"strength" value=
"12">
70 <span class=
"input-group-btn">
71 <button class=
"btn generate">Generate Random Mnemonic
</button>
76 <div class=
"form-group">
77 <label for=
"passphrase" class=
"col-sm-2 control-label">BIP39 Passphrase (optional)
</label>
78 <div class=
"col-sm-10">
79 <textarea id=
"passphrase" class=
"passphrase form-control"></textarea>
82 <div class=
"form-group">
83 <label for=
"network-phrase" class=
"col-sm-2 control-label">Coin
</label>
84 <div class=
"col-sm-10">
85 <select id=
"network-phrase" class=
"network form-control">
86 <!-- populated by javascript -->
90 <div class=
"form-group">
91 <label for=
"root-key" class=
"col-sm-2 control-label">BIP32 Root Key
</label>
92 <div class=
"col-sm-10">
93 <textarea id=
"root-key" class=
"root-key form-control" readonly=
"readonly"></textarea>
103 <div class=
"col-md-12">
104 <h2>Derivation Path
</h2>
105 <ul class=
"derivation-type nav nav-tabs" role=
"tablist">
106 <li id=
"bip44-tab" class=
"active">
107 <a href=
"#bip44" role=
"tab" data-toggle=
"tab">BIP44
</a>
110 <a href=
"#bip32" role=
"tab" data-toggle=
"tab">BIP32
</a>
113 <div class=
"derivation-type tab-content">
114 <div id=
"bip44" class=
"tab-pane active">
115 <form class=
"form-horizontal" role=
"form">
117 <div class=
"col-sm-2"></div>
118 <div class=
"col-sm-10">
119 <p>For more info see the
<a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki" target=
"_blank">BIP44 spec
</a></p>
121 <div class=
"form-group">
122 <label for=
"purpose" class=
"col-sm-2 control-label">
123 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#purpose" target=
"_blank">Purpose
</a>
125 <div class=
"col-sm-10">
126 <input id=
"purpose" type=
"text" class=
"purpose form-control" value=
"44">
129 <div class=
"form-group">
130 <label for=
"coin" class=
"col-sm-2 control-label">
131 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#registered-coin-types" target=
"_blank">Coin
</a>
133 <div class=
"col-sm-10">
134 <input id=
"coin" type=
"text" class=
"coin form-control" value=
"0">
137 <div class=
"form-group">
138 <label for=
"account" class=
"col-sm-2 control-label">
139 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#account" target=
"_blank">Account
</a>
141 <div class=
"col-sm-10">
142 <input id=
"account" type=
"text" class=
"account form-control" value=
"0">
145 <div class=
"form-group">
146 <label for=
"change" class=
"col-sm-2 control-label">
147 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#change" target=
"_blank">External / Internal
</a>
149 <div class=
"col-sm-10">
150 <input id=
"change" type=
"text" class=
"change form-control" value=
"0">
153 <div class=
"form-group">
154 <label for=
"bip44-path" class=
"col-sm-2 control-label">BIP32 Derivation Path
</label>
155 <div class=
"col-sm-10">
156 <input id=
"bip44-path" type=
"text" class=
"path form-control" value=
"m/44'/0'/0'/0" readonly=
"readonly">
161 <div id=
"bip32" class=
"tab-pane">
162 <form class=
"form-horizontal" role=
"form">
164 <div class=
"col-sm-2"></div>
165 <div class=
"col-sm-10">
166 <p>For more info see the
<a href=
"https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki" target=
"_blank">BIP32 spec
</a></p>
168 <div class=
"form-group">
169 <label for=
"bip32-path" class=
"col-sm-2 control-label">BIP32 Derivation Path
</label>
170 <div class=
"col-sm-10">
171 <input id=
"bip32-path" type=
"text" class=
"path form-control" value=
"m/0">
174 <div class=
"form-group">
175 <label class=
"col-sm-2 control-label">Hive Wallet
</label>
176 <div class=
"col-sm-10">
177 <p class=
"form-control no-border">
178 Use path
<code>m/
0'/
0</code>.
179 For more info see the
<a href=
"https://www.hivewallet.com/" target=
"_blank">Hive Wallet homepage
</a>
183 <div class=
"form-group">
184 <label for=
"mycelium-path" class=
"col-sm-2 control-label">Mycelium Wallet
</label>
185 <div class=
"col-sm-10">
186 <p class=
"form-control no-border">
187 Use path
<code>m/
44'/
0'/
0'/
0</code>.
188 For more info see the
<a href=
"http://www.mycelium.com/" target=
"_blank">Mycelium Wallet homepage
</a>
195 <form class=
"form-horizontal" role=
"form">
196 <div class=
"form-group">
197 <label for=
"extended-priv-key" class=
"col-sm-2 control-label">BIP32 Extended Key
</label>
198 <div class=
"col-sm-10">
199 <textarea id=
"extended-priv-key" class=
"extended-priv-key form-control" readonly=
"readonly"></textarea>
202 <div class=
"form-group">
203 <label for=
"extended-pub-key" class=
"col-sm-2 control-label">BIP32 Extended Key (addresses only)
</label>
204 <div class=
"col-sm-10">
205 <textarea id=
"extended-pub-key" class=
"extended-pub-key form-control" readonly=
"readonly"></textarea>
215 <div class=
"col-md-12">
216 <h2>Derived Addresses
</h2>
217 <p>Note these addreses are derived from the
<strong>BIP32 Extended Key
</strong></p>
218 <table class=
"table table-striped">
221 <div class=
"input-group">
223 <button class=
"index-toggle">Toggle
</button>
227 <div class=
"input-group">
229 <button class=
"address-toggle">Toggle
</button>
233 <div class=
"input-group">
234 Private Key
235 <button class=
"private-key-toggle">Toggle
</button>
239 <tbody class=
"addresses">
240 <tr><td> </td><td> </td><td> </td></tr>
241 <tr><td> </td><td> </td><td> </td></tr>
242 <tr><td> </td><td> </td><td> </td></tr>
243 <tr><td> </td><td> </td><td> </td></tr>
244 <tr><td> </td><td> </td><td> </td></tr>
249 <span>Show next
</button>
250 <input type=
"number" class=
"rows-to-add" value=
"20">
251 <button class=
"more">Show
</button>
256 <div class=
"col-md-12">
258 <h3>BIP39
<span class=
"small">Mnemonic code for generating deterministic keys
</span></h3>
261 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki">official BIP39 spec
</a>
263 <h3>BIP32
<span class=
"small">Hierarchical Deterministic Wallets
</span></h3>
266 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki" target=
"_blank">official BIP32 spec
</a>
268 <a href=
"http://bip32.org/" target=
"_blank">bip32.org
</a>
270 <h3>BIP44
<span class=
"small">Multi-Account Hierarchy for Deterministic Wallets
</span></h3>
273 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki" target=
"_blank">official BIP44 spec
</a>
275 <h3>Private Keys
</h3>
278 <a href=
"https://web.archive.org/web/20150707020924/https://brainwallet.org/" target=
"_blank">brainwallet.org
</a>,
279 but be careful - it can be easy to make mistakes if you
280 don't know what you're doing
288 <div class=
"col-md-12">
290 <h2>Offline Usage
</h2>
293 You can use this tool without having to be online.
296 In your browser, select file save-as, and save this page
300 Double-click that file to open it in a browser
301 on any offline computer.
304 Alternatively, download it from
305 <a href=
"https://github.com/dcpos/bip39">
306 https://github.com/dcpos/bip39
315 <div class=
"col-md-12">
317 <h2>This project is
100% open-source code
</h2>
320 <span>Get the source code at -
</span>
321 <a href=
"https://github.com/dcpos/bip39" target=
"_blank">
322 https://github.com/dcpos/bip39
329 <span>BitcoinJS -
</span>
330 <a href=
"https://github.com/bitcoinjs/bitcoinjs-lib" target=
"_blank">
331 https://github.com/bitcoinjs/bitcoinjs-lib
336 <span>jsBIP39 -
</span>
337 <a href=
"https://github.com/iancoleman/jsbip39" target=
"_blank">
338 https://github.com/iancoleman/jsbip39
344 <a href=
"https://github.com/bitwiseshiftleft/sjcl" target=
"_blank">
345 https://github.com/bitwiseshiftleft/sjcl
350 <span>jQuery -
</span>
351 <a href=
"https://jquery.com/" target=
"_blank">
357 <span>Twitter Bootstrap -
</span>
358 <a href=
"http://getbootstrap.com/" target=
"_blank">
359 http://getbootstrap.com/
368 <div class=
"feedback-container">
369 <div class=
"feedback">Loading...
</div>
372 <script type=
"text/template" id=
"address-row-template">
374 <td class=
"index"><span></span></td>
375 <td class=
"address"><span></span></td>
376 <td class=
"privkey"><span></span></td>
379 <script src=
"/js/jquery.min.js"></script>
380 <script src=
"/js/bootstrap.min.js"></script>
381 <script src=
"/js/bitcoinjs-1-5-7.js"></script>
382 <script src=
"/js/bitcoinjs-extensions.js"></script>
383 <script src=
"/js/sjcl-bip39.js"></script>
384 <script src=
"/js/wordlist_english.js"></script>
385 <script src=
"/js/jsbip39.js"></script>
386 <script src=
"/js/index.js"></script>