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>
65 <div class=
"form-group">
66 <label for=
"phrase" class=
"col-sm-2 control-label">BIP39 Mnemonic
</label>
67 <div class=
"col-sm-10">
68 <textarea id=
"phrase" class=
"phrase form-control"></textarea>
71 <div class=
"form-group">
72 <label for=
"strength" class=
"col-sm-2 control-label">Number of words
</label>
73 <div class=
"col-sm-10">
74 <div class=
"input-group">
75 <input type=
"number" class=
"strength form-control" id=
"strength" value=
"12">
76 <span class=
"input-group-btn">
77 <button class=
"btn generate">Generate Random Mnemonic
</button>
82 <div class=
"form-group">
83 <label for=
"passphrase" class=
"col-sm-2 control-label">BIP39 Passphrase (optional)
</label>
84 <div class=
"col-sm-10">
85 <textarea id=
"passphrase" class=
"passphrase form-control"></textarea>
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">
105 <a href=
"#bip44" role=
"tab" data-toggle=
"tab">BIP44
</a></li>
106 <li><a href=
"#bip32" role=
"tab" data-toggle=
"tab">BIP32
</a></li>
108 <div class=
"derivation-type tab-content">
109 <div id=
"bip44" class=
"tab-pane active">
110 <form class=
"form-horizontal" role=
"form">
112 <div class=
"col-sm-2"></div>
113 <div class=
"col-sm-10">
114 <p>For more info see the
<a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki" target=
"_blank">BIP44 spec
</a></p>
116 <div class=
"form-group">
117 <label for=
"network-bip44" class=
"col-sm-2 control-label">Coin
</label>
118 <div class=
"col-sm-10">
119 <select id=
"network-bip44" class=
"network form-control">
120 <option value=
"bitcoin">Bitcoin
</option>
121 <option value=
"bitcoin-testnet">Bitcoin Testnet
</option>
122 <option value=
"litecoin">Litecoin
</option>
126 <div class=
"form-group">
127 <label for=
"purpose" class=
"col-sm-2 control-label">
128 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#purpose" target=
"_blank">Purpose
</a>
130 <div class=
"col-sm-10">
131 <input id=
"purpose" type=
"text" class=
"purpose form-control" value=
"44">
134 <div class=
"form-group">
135 <label for=
"coin" class=
"col-sm-2 control-label">
136 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#registered-coin-types" target=
"_blank">Coin
</a>
138 <div class=
"col-sm-10">
139 <input id=
"coin" type=
"text" class=
"coin form-control" value=
"0">
142 <div class=
"form-group">
143 <label for=
"account" class=
"col-sm-2 control-label">
144 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#account" target=
"_blank">Account
</a>
146 <div class=
"col-sm-10">
147 <input id=
"account" type=
"text" class=
"account form-control" value=
"0">
150 <div class=
"form-group">
151 <label for=
"change" class=
"col-sm-2 control-label">
152 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#change" target=
"_blank">External / Internal
</a>
154 <div class=
"col-sm-10">
155 <input id=
"change" type=
"text" class=
"change form-control" value=
"0">
158 <div class=
"form-group">
159 <label for=
"bip44-path" class=
"col-sm-2 control-label">BIP32 Derivation Path
</label>
160 <div class=
"col-sm-10">
161 <input id=
"bip44-path" type=
"text" class=
"path form-control" value=
"m/44'/0'/0'/0" readonly=
"readonly">
166 <div id=
"bip32" class=
"tab-pane">
167 <form class=
"form-horizontal" role=
"form">
169 <div class=
"col-sm-2"></div>
170 <div class=
"col-sm-10">
171 <p>For more info see the
<a href=
"https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki" target=
"_blank">BIP32 spec
</a></p>
173 <div class=
"form-group">
174 <label for=
"bip32-path" class=
"col-sm-2 control-label">BIP32 Derivation Path
</label>
175 <div class=
"col-sm-10">
176 <input id=
"bip32-path" type=
"text" class=
"path form-control" value=
"m/0">
182 <form class=
"form-horizontal" role=
"form">
183 <div class=
"form-group">
184 <label for=
"extended-priv-key" class=
"col-sm-2 control-label">BIP32 Extended Key
</label>
185 <div class=
"col-sm-10">
186 <textarea id=
"extended-priv-key" class=
"extended-priv-key form-control" readonly=
"readonly"></textarea>
189 <div class=
"form-group">
190 <label for=
"extended-pub-key" class=
"col-sm-2 control-label">BIP32 Extended Key (addresses only)
</label>
191 <div class=
"col-sm-10">
192 <textarea id=
"extended-pub-key" class=
"extended-pub-key form-control" readonly=
"readonly"></textarea>
202 <div class=
"col-md-12">
203 <h2>Derived Addresses
</h2>
204 <p>Note these addreses are derived from the
<strong>BIP32 Extended Key
</strong></p>
205 <table class=
"table table-striped">
208 <div class=
"input-group">
210 <button class=
"index-toggle">Toggle
</button>
214 <div class=
"input-group">
216 <button class=
"address-toggle">Toggle
</button>
220 <div class=
"input-group">
221 Private Key
222 <button class=
"private-key-toggle">Toggle
</button>
226 <tbody class=
"addresses">
227 <tr><td> </td><td> </td><td> </td></tr>
228 <tr><td> </td><td> </td><td> </td></tr>
229 <tr><td> </td><td> </td><td> </td></tr>
230 <tr><td> </td><td> </td><td> </td></tr>
231 <tr><td> </td><td> </td><td> </td></tr>
236 <span>Show next
</button>
237 <input type=
"number" class=
"rows-to-add" value=
"20">
238 <button class=
"more">Show
</button>
243 <div class=
"col-md-12">
245 <h3>BIP39
<span class=
"small">Mnemonic code for generating deterministic keys
</span></h3>
248 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki">official BIP39 spec
</a>
250 <h3>BIP32
<span class=
"small">Hierarchical Deterministic Wallets
</span></h3>
253 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki" target=
"_blank">official BIP32 spec
</a>
255 <a href=
"http://bip32.org/" target=
"_blank">bip32.org
</a>
257 <h3>BIP44
<span class=
"small">Multi-Account Hierarchy for Deterministic Wallets
</span></h3>
260 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki" target=
"_blank">official BIP44 spec
</a>
262 <h3>Private Keys
</h3>
265 <a href=
"https://brainwallet.github.io/" target=
"_blank">brainwallet.org
</a>,
266 but be careful - it can be easy to make mistakes if you
267 don't know what you're doing
275 <div class=
"col-md-12">
277 <h2>Offline Usage
</h2>
280 You can use this tool without having to be online.
283 In your browser, select file save-as, and save this page
287 Double-click that file to open it in a browser
288 on any offline computer.
291 Alternatively, download it from
292 <a href=
"https://github.com/dcpos/bip39">
293 https://github.com/dcpos/bip39
302 <div class=
"col-md-12">
304 <h2>This project is
100% open-source code
</h2>
307 <span>Get the source code at -
</span>
308 <a href=
"https://github.com/dcpos/bip39" target=
"_blank">
309 https://github.com/dcpos/bip39
316 <span>BitcoinJS -
</span>
317 <a href=
"https://github.com/bitcoinjs/bitcoinjs-lib" target=
"_blank">
318 https://github.com/bitcoinjs/bitcoinjs-lib
323 <span>jsBIP39 -
</span>
324 <a href=
"https://github.com/iancoleman/jsbip39" target=
"_blank">
325 https://github.com/iancoleman/jsbip39
331 <a href=
"https://github.com/bitwiseshiftleft/sjcl" target=
"_blank">
332 https://github.com/bitwiseshiftleft/sjcl
337 <span>jQuery -
</span>
338 <a href=
"https://jquery.com/" target=
"_blank">
344 <span>Twitter Bootstrap -
</span>
345 <a href=
"http://getbootstrap.com/" target=
"_blank">
346 http://getbootstrap.com/
355 <div class=
"feedback-container">
356 <div class=
"feedback">Loading...
</div>
359 <script type=
"text/template" id=
"address-row-template">
361 <td class=
"index"><span></span></td>
362 <td class=
"address"><span></span></td>
363 <td class=
"privkey"><span></span></td>
366 <script src=
"//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
367 <script src=
"https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
368 <script src=
"/js/bitcoinjs-1-0-0.js"></script>
369 <script src=
"/js/sjcl-bip39.js"></script>
370 <script src=
"/js/wordlists.js"></script>
371 <script src=
"/js/wordlist_english.js"></script>
372 <script src=
"/js/jsbip39.js"></script>
373 <script src=
"/js/index.js"></script>