4 <meta charset=
"utf-8" />
5 <title>BIP39 - Mnemonic Code
</title>
6 <link rel=
"stylesheet" href=
"https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/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;
41 <div class=
"container">
43 <h1 class=
"text-center">Mnemonic Code Converter
</h1>
46 <div class=
"col-md-12">
48 <form class=
"form-horizontal" role=
"form">
49 <div class=
"col-sm-2"></div>
50 <div class=
"col-sm-10">
51 <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>
52 <p>For more info see the
<a href=
"https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki" target=
"_blank">BIP39 spec
</a></p>
54 <div class=
"form-group">
55 <label for=
"phrase" class=
"col-sm-2 control-label">BIP39 Mnemonic
</label>
56 <div class=
"col-sm-10">
57 <textarea id=
"phrase" class=
"phrase form-control"></textarea>
60 <div class=
"form-group">
61 <label for=
"strength" class=
"col-sm-2 control-label">Number of words
</label>
62 <div class=
"col-sm-10">
63 <div class=
"input-group">
64 <input type=
"number" class=
"strength form-control" id=
"strength" value=
"12">
65 <span class=
"input-group-btn">
66 <button class=
"btn generate">Generate Random Mnemonic
</button>
71 <div class=
"form-group">
72 <label for=
"passphrase" class=
"col-sm-2 control-label">BIP39 Passphrase (optional)
</label>
73 <div class=
"col-sm-10">
74 <textarea id=
"passphrase" class=
"passphrase form-control"></textarea>
77 <div class=
"form-group">
78 <label for=
"network-phrase" class=
"col-sm-2 control-label">Coin
</label>
79 <div class=
"col-sm-10">
80 <select id=
"network-phrase" class=
"network form-control">
81 <option value=
"bitcoin">Bitcoin
</option>
82 <option value=
"bitcoin-testnet">Bitcoin Testnet
</option>
83 <option value=
"litecoin">Litecoin
</option>
84 <option value=
"dogecoin">Dogecoin
</option>
88 <div class=
"form-group">
89 <label for=
"root-key" class=
"col-sm-2 control-label">BIP32 Root Key
</label>
90 <div class=
"col-sm-10">
91 <textarea id=
"root-key" class=
"root-key form-control" readonly=
"readonly"></textarea>
101 <div class=
"col-md-12">
102 <h2>Derivation Path
</h2>
103 <ul class=
"derivation-type nav nav-tabs" role=
"tablist">
104 <li id=
"hive-tab" class=
"active">
105 <a href=
"#hive" role=
"tab" data-toggle=
"tab">Hive Wallet
</a>
108 <a href=
"#bip44" role=
"tab" data-toggle=
"tab">BIP44
</a>
111 <a href=
"#bip32" role=
"tab" data-toggle=
"tab">BIP32
</a>
114 <div class=
"derivation-type tab-content">
115 <div id=
"hive" class=
"tab-pane active">
116 <form class=
"form-horizontal" role=
"form">
118 <div class=
"col-sm-2"></div>
119 <div class=
"col-sm-10">
120 <p>For more info see the
<a href=
"https://www.hivewallet.com/" target=
"_blank">Hive Wallet homepage
</a></p>
122 <div class=
"form-group">
123 <label for=
"hive-path" class=
"col-sm-2 control-label">BIP32 Derivation Path
</label>
124 <div class=
"col-sm-10">
125 <input id=
"hive-path" type=
"text" class=
"path form-control" value=
"m/0'/0" readonly=
"readonly">
130 <div id=
"bip44" class=
"tab-pane">
131 <form class=
"form-horizontal" role=
"form">
133 <div class=
"col-sm-2"></div>
134 <div class=
"col-sm-10">
135 <p>For more info see the
<a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki" target=
"_blank">BIP44 spec
</a></p>
137 <div class=
"form-group">
138 <label for=
"purpose" class=
"col-sm-2 control-label">
139 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#purpose" target=
"_blank">Purpose
</a>
141 <div class=
"col-sm-10">
142 <input id=
"purpose" type=
"text" class=
"purpose form-control" value=
"44">
145 <div class=
"form-group">
146 <label for=
"coin" class=
"col-sm-2 control-label">
147 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#registered-coin-types" target=
"_blank">Coin
</a>
149 <div class=
"col-sm-10">
150 <input id=
"coin" type=
"text" class=
"coin form-control" value=
"0">
153 <div class=
"form-group">
154 <label for=
"account" class=
"col-sm-2 control-label">
155 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#account" target=
"_blank">Account
</a>
157 <div class=
"col-sm-10">
158 <input id=
"account" type=
"text" class=
"account form-control" value=
"0">
161 <div class=
"form-group">
162 <label for=
"change" class=
"col-sm-2 control-label">
163 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#change" target=
"_blank">External / Internal
</a>
165 <div class=
"col-sm-10">
166 <input id=
"change" type=
"text" class=
"change form-control" value=
"0">
169 <div class=
"form-group">
170 <label for=
"bip44-path" class=
"col-sm-2 control-label">BIP32 Derivation Path
</label>
171 <div class=
"col-sm-10">
172 <input id=
"bip44-path" type=
"text" class=
"path form-control" value=
"m/44'/0'/0'/0" readonly=
"readonly">
177 <div id=
"bip32" class=
"tab-pane">
178 <form class=
"form-horizontal" role=
"form">
180 <div class=
"col-sm-2"></div>
181 <div class=
"col-sm-10">
182 <p>For more info see the
<a href=
"https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki" target=
"_blank">BIP32 spec
</a></p>
184 <div class=
"form-group">
185 <label for=
"bip32-path" class=
"col-sm-2 control-label">BIP32 Derivation Path
</label>
186 <div class=
"col-sm-10">
187 <input id=
"bip32-path" type=
"text" class=
"path form-control" value=
"m/0">
193 <form class=
"form-horizontal" role=
"form">
194 <div class=
"form-group">
195 <label for=
"extended-priv-key" class=
"col-sm-2 control-label">BIP32 Extended Key
</label>
196 <div class=
"col-sm-10">
197 <textarea id=
"extended-priv-key" class=
"extended-priv-key form-control" readonly=
"readonly"></textarea>
200 <div class=
"form-group">
201 <label for=
"extended-pub-key" class=
"col-sm-2 control-label">BIP32 Extended Key (addresses only)
</label>
202 <div class=
"col-sm-10">
203 <textarea id=
"extended-pub-key" class=
"extended-pub-key form-control" readonly=
"readonly"></textarea>
213 <div class=
"col-md-12">
214 <h2>Derived Addresses
</h2>
215 <p>Note these addreses are derived from the
<strong>BIP32 Extended Key
</strong></p>
216 <table class=
"table table-striped">
219 <div class=
"input-group">
221 <button class=
"index-toggle">Toggle
</button>
225 <div class=
"input-group">
227 <button class=
"address-toggle">Toggle
</button>
231 <div class=
"input-group">
232 Private Key
233 <button class=
"private-key-toggle">Toggle
</button>
237 <tbody class=
"addresses">
238 <tr><td> </td><td> </td><td> </td></tr>
239 <tr><td> </td><td> </td><td> </td></tr>
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>
247 <span>Show next
</button>
248 <input type=
"number" class=
"rows-to-add" value=
"20">
249 <button class=
"more">Show
</button>
254 <div class=
"col-md-12">
256 <h3>BIP39
<span class=
"small">Mnemonic code for generating deterministic keys
</span></h3>
259 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki">official BIP39 spec
</a>
261 <h3>BIP32
<span class=
"small">Hierarchical Deterministic Wallets
</span></h3>
264 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki" target=
"_blank">official BIP32 spec
</a>
266 <a href=
"http://bip32.org/" target=
"_blank">bip32.org
</a>
268 <h3>BIP44
<span class=
"small">Multi-Account Hierarchy for Deterministic Wallets
</span></h3>
271 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki" target=
"_blank">official BIP44 spec
</a>
273 <h3>Private Keys
</h3>
276 <a href=
"https://brainwallet.github.io/" target=
"_blank">brainwallet.org
</a>,
277 but be careful - it can be easy to make mistakes if you
278 don't know what you're doing
286 <div class=
"col-md-12">
288 <h2>Offline Usage
</h2>
291 You can use this tool without having to be online.
294 In your browser, select file save-as, and save this page
298 Double-click that file to open it in a browser
299 on any offline computer.
302 Alternatively, download it from
303 <a href=
"https://github.com/dcpos/bip39">
304 https://github.com/dcpos/bip39
313 <div class=
"col-md-12">
315 <h2>This project is
100% open-source code
</h2>
318 <span>Get the source code at -
</span>
319 <a href=
"https://github.com/dcpos/bip39" target=
"_blank">
320 https://github.com/dcpos/bip39
327 <span>BitcoinJS -
</span>
328 <a href=
"https://github.com/bitcoinjs/bitcoinjs-lib" target=
"_blank">
329 https://github.com/bitcoinjs/bitcoinjs-lib
334 <span>jsBIP39 -
</span>
335 <a href=
"https://github.com/iancoleman/jsbip39" target=
"_blank">
336 https://github.com/iancoleman/jsbip39
342 <a href=
"https://github.com/bitwiseshiftleft/sjcl" target=
"_blank">
343 https://github.com/bitwiseshiftleft/sjcl
348 <span>jQuery -
</span>
349 <a href=
"https://jquery.com/" target=
"_blank">
355 <span>Twitter Bootstrap -
</span>
356 <a href=
"http://getbootstrap.com/" target=
"_blank">
357 http://getbootstrap.com/
366 <div class=
"feedback-container">
367 <div class=
"feedback">Loading...
</div>
370 <script type=
"text/template" id=
"address-row-template">
372 <td class=
"index"><span></span></td>
373 <td class=
"address"><span></span></td>
374 <td class=
"privkey"><span></span></td>
377 <script src=
"//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
378 <script src=
"https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
379 <script src=
"/js/bitcoinjs-1-0-0.js"></script>
380 <script src=
"/js/sjcl-bip39.js"></script>
381 <script src=
"/js/wordlists.js"></script>
382 <script src=
"/js/wordlist_english.js"></script>
383 <script src=
"/js/jsbip39.js"></script>
384 <script src=
"/js/index.js"></script>