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=
"network-phrase" class=
"col-sm-2 control-label">Coin
</label>
56 <div class=
"col-sm-10">
57 <select id=
"network-phrase" class=
"network form-control">
58 <option value=
"bitcoin">Bitcoin
</option>
59 <option value=
"bitcoin-testnet">Bitcoin Testnet
</option>
60 <option value=
"litecoin">Litecoin
</option>
61 <option value=
"dogecoin">Dogecoin
</option>
62 <option value=
"viacoin">Viacoin
</option>
63 <option value=
"viacoin-testnet">Viacoin Testnet
</option>
64 <option value=
"zetacoin">Zetacoin
</option>
68 <div class=
"form-group">
69 <label for=
"phrase" class=
"col-sm-2 control-label">BIP39 Mnemonic
</label>
70 <div class=
"col-sm-10">
71 <textarea id=
"phrase" class=
"phrase form-control"></textarea>
74 <div class=
"form-group">
75 <label for=
"strength" class=
"col-sm-2 control-label">Number of words
</label>
76 <div class=
"col-sm-10">
77 <div class=
"input-group">
78 <input type=
"number" class=
"strength form-control" id=
"strength" value=
"12">
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=
"root-key" class=
"col-sm-2 control-label">BIP32 Root Key
</label>
93 <div class=
"col-sm-10">
94 <textarea id=
"root-key" class=
"root-key form-control" readonly=
"readonly"></textarea>
104 <div class=
"col-md-12">
105 <h2>Derivation Path
</h2>
106 <ul class=
"derivation-type nav nav-tabs" role=
"tablist">
108 <a href=
"#bip44" role=
"tab" data-toggle=
"tab">BIP44
</a></li>
109 <li><a href=
"#bip32" role=
"tab" data-toggle=
"tab">BIP32
</a></li>
111 <div class=
"derivation-type tab-content">
112 <div id=
"bip44" class=
"tab-pane active">
113 <form class=
"form-horizontal" role=
"form">
115 <div class=
"col-sm-2"></div>
116 <div class=
"col-sm-10">
117 <p>For more info see the
<a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki" target=
"_blank">BIP44 spec
</a></p>
119 <div class=
"form-group">
120 <label for=
"network-bip44" class=
"col-sm-2 control-label">Coin
</label>
121 <div class=
"col-sm-10">
122 <select id=
"network-bip44" class=
"network form-control">
123 <option value=
"bitcoin">Bitcoin
</option>
124 <option value=
"bitcoin-testnet">Bitcoin Testnet
</option>
125 <option value=
"litecoin">Litecoin
</option>
129 <div class=
"form-group">
130 <label for=
"purpose" class=
"col-sm-2 control-label">
131 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#purpose" target=
"_blank">Purpose
</a>
133 <div class=
"col-sm-10">
134 <input id=
"purpose" type=
"text" class=
"purpose form-control" value=
"44">
137 <div class=
"form-group">
138 <label for=
"coin" class=
"col-sm-2 control-label">
139 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#registered-coin-types" target=
"_blank">Coin
</a>
141 <div class=
"col-sm-10">
142 <input id=
"coin" type=
"text" class=
"coin form-control" value=
"0">
145 <div class=
"form-group">
146 <label for=
"account" class=
"col-sm-2 control-label">
147 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#account" target=
"_blank">Account
</a>
149 <div class=
"col-sm-10">
150 <input id=
"account" type=
"text" class=
"account form-control" value=
"0">
153 <div class=
"form-group">
154 <label for=
"change" class=
"col-sm-2 control-label">
155 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#change" target=
"_blank">External / Internal
</a>
157 <div class=
"col-sm-10">
158 <input id=
"change" type=
"text" class=
"change form-control" value=
"0">
161 <div class=
"form-group">
162 <label for=
"bip44-path" class=
"col-sm-2 control-label">BIP32 Derivation Path
</label>
163 <div class=
"col-sm-10">
164 <input id=
"bip44-path" type=
"text" class=
"path form-control" value=
"m/44'/0'/0'/0" readonly=
"readonly">
169 <div id=
"bip32" class=
"tab-pane">
170 <form class=
"form-horizontal" role=
"form">
172 <div class=
"col-sm-2"></div>
173 <div class=
"col-sm-10">
174 <p>For more info see the
<a href=
"https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki" target=
"_blank">BIP32 spec
</a></p>
176 <div class=
"form-group">
177 <label for=
"bip32-path" class=
"col-sm-2 control-label">BIP32 Derivation Path
</label>
178 <div class=
"col-sm-10">
179 <input id=
"bip32-path" type=
"text" class=
"path form-control" value=
"m/0">
185 <form class=
"form-horizontal" role=
"form">
186 <div class=
"form-group">
187 <label for=
"extended-priv-key" class=
"col-sm-2 control-label">BIP32 Extended Key
</label>
188 <div class=
"col-sm-10">
189 <textarea id=
"extended-priv-key" class=
"extended-priv-key form-control" readonly=
"readonly"></textarea>
192 <div class=
"form-group">
193 <label for=
"extended-pub-key" class=
"col-sm-2 control-label">BIP32 Extended Key (addresses only)
</label>
194 <div class=
"col-sm-10">
195 <textarea id=
"extended-pub-key" class=
"extended-pub-key form-control" readonly=
"readonly"></textarea>
205 <div class=
"col-md-12">
206 <h2>Derived Addresses
</h2>
207 <p>Note these addreses are derived from the
<strong>BIP32 Extended Key
</strong></p>
208 <table class=
"table table-striped">
211 <div class=
"input-group">
213 <button class=
"index-toggle">Toggle
</button>
217 <div class=
"input-group">
219 <button class=
"address-toggle">Toggle
</button>
223 <div class=
"input-group">
224 Private Key
225 <button class=
"private-key-toggle">Toggle
</button>
229 <tbody class=
"addresses">
230 <tr><td> </td><td> </td><td> </td></tr>
231 <tr><td> </td><td> </td><td> </td></tr>
232 <tr><td> </td><td> </td><td> </td></tr>
233 <tr><td> </td><td> </td><td> </td></tr>
234 <tr><td> </td><td> </td><td> </td></tr>
239 <span>Show next
</button>
240 <input type=
"number" class=
"rows-to-add" value=
"20">
241 <button class=
"more">Show
</button>
246 <div class=
"col-md-12">
248 <h3>BIP39
<span class=
"small">Mnemonic code for generating deterministic keys
</span></h3>
251 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki">official BIP39 spec
</a>
253 <h3>BIP32
<span class=
"small">Hierarchical Deterministic Wallets
</span></h3>
256 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki" target=
"_blank">official BIP32 spec
</a>
258 <a href=
"http://bip32.org/" target=
"_blank">bip32.org
</a>
260 <h3>BIP44
<span class=
"small">Multi-Account Hierarchy for Deterministic Wallets
</span></h3>
263 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki" target=
"_blank">official BIP44 spec
</a>
265 <h3>Private Keys
</h3>
268 <a href=
"https://brainwallet.github.io/" target=
"_blank">brainwallet.org
</a>,
269 but be careful - it can be easy to make mistakes if you
270 don't know what you're doing
278 <div class=
"col-md-12">
280 <h2>Offline Usage
</h2>
283 You can use this tool without having to be online.
286 In your browser, select file save-as, and save this page
290 Double-click that file to open it in a browser
291 on any offline computer.
294 Alternatively, download it from
295 <a href=
"https://github.com/dcpos/bip39">
296 https://github.com/dcpos/bip39
305 <div class=
"col-md-12">
307 <h2>This project is
100% open-source code
</h2>
310 <span>Get the source code at -
</span>
311 <a href=
"https://github.com/dcpos/bip39" target=
"_blank">
312 https://github.com/dcpos/bip39
319 <span>BitcoinJS -
</span>
320 <a href=
"https://github.com/bitcoinjs/bitcoinjs-lib" target=
"_blank">
321 https://github.com/bitcoinjs/bitcoinjs-lib
326 <span>jsBIP39 -
</span>
327 <a href=
"https://github.com/iancoleman/jsbip39" target=
"_blank">
328 https://github.com/iancoleman/jsbip39
334 <a href=
"https://github.com/bitwiseshiftleft/sjcl" target=
"_blank">
335 https://github.com/bitwiseshiftleft/sjcl
340 <span>jQuery -
</span>
341 <a href=
"https://jquery.com/" target=
"_blank">
347 <span>Twitter Bootstrap -
</span>
348 <a href=
"http://getbootstrap.com/" target=
"_blank">
349 http://getbootstrap.com/
358 <div class=
"feedback-container">
359 <div class=
"feedback">Loading...
</div>
362 <script type=
"text/template" id=
"address-row-template">
364 <td class=
"index"><span></span></td>
365 <td class=
"address"><span></span></td>
366 <td class=
"privkey"><span></span></td>
369 <script src=
"//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
370 <script src=
"https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
371 <script src=
"/js/bitcoinjs-1-0-0.js"></script>
372 <script src=
"/js/sjcl-bip39.js"></script>
373 <script src=
"/js/wordlists.js"></script>
374 <script src=
"/js/wordlist_english.js"></script>
375 <script src=
"/js/jsbip39.js"></script>
376 <script src=
"/js/index.js"></script>