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">
104 <li id=
"bip44-tab" class=
"active">
105 <a href=
"#bip44" role=
"tab" data-toggle=
"tab">BIP44
</a>
108 <a href=
"#bip32" role=
"tab" data-toggle=
"tab">BIP32
</a>
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=
"purpose" class=
"col-sm-2 control-label">
121 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#purpose" target=
"_blank">Purpose
</a>
123 <div class=
"col-sm-10">
124 <input id=
"purpose" type=
"text" class=
"purpose form-control" value=
"44">
127 <div class=
"form-group">
128 <label for=
"coin" class=
"col-sm-2 control-label">
129 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#registered-coin-types" target=
"_blank">Coin
</a>
131 <div class=
"col-sm-10">
132 <input id=
"coin" type=
"text" class=
"coin form-control" value=
"0">
135 <div class=
"form-group">
136 <label for=
"account" class=
"col-sm-2 control-label">
137 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#account" target=
"_blank">Account
</a>
139 <div class=
"col-sm-10">
140 <input id=
"account" type=
"text" class=
"account form-control" value=
"0">
143 <div class=
"form-group">
144 <label for=
"change" class=
"col-sm-2 control-label">
145 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#change" target=
"_blank">External / Internal
</a>
147 <div class=
"col-sm-10">
148 <input id=
"change" type=
"text" class=
"change form-control" value=
"0">
151 <div class=
"form-group">
152 <label for=
"bip44-path" class=
"col-sm-2 control-label">BIP32 Derivation Path
</label>
153 <div class=
"col-sm-10">
154 <input id=
"bip44-path" type=
"text" class=
"path form-control" value=
"m/44'/0'/0'/0" readonly=
"readonly">
159 <div id=
"bip32" class=
"tab-pane">
160 <form class=
"form-horizontal" role=
"form">
162 <div class=
"col-sm-2"></div>
163 <div class=
"col-sm-10">
164 <p>For more info see the
<a href=
"https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki" target=
"_blank">BIP32 spec
</a></p>
166 <div class=
"form-group">
167 <label for=
"bip32-path" class=
"col-sm-2 control-label">BIP32 Derivation Path
</label>
168 <div class=
"col-sm-10">
169 <input id=
"bip32-path" type=
"text" class=
"path form-control" value=
"m/0">
175 <form class=
"form-horizontal" role=
"form">
176 <div class=
"form-group">
177 <label for=
"extended-priv-key" class=
"col-sm-2 control-label">BIP32 Extended Key
</label>
178 <div class=
"col-sm-10">
179 <textarea id=
"extended-priv-key" class=
"extended-priv-key form-control" readonly=
"readonly"></textarea>
182 <div class=
"form-group">
183 <label for=
"extended-pub-key" class=
"col-sm-2 control-label">BIP32 Extended Key (addresses only)
</label>
184 <div class=
"col-sm-10">
185 <textarea id=
"extended-pub-key" class=
"extended-pub-key form-control" readonly=
"readonly"></textarea>
195 <div class=
"col-md-12">
196 <h2>Derived Addresses
</h2>
197 <p>Note these addreses are derived from the
<strong>BIP32 Extended Key
</strong></p>
198 <table class=
"table table-striped">
201 <div class=
"input-group">
203 <button class=
"index-toggle">Toggle
</button>
207 <div class=
"input-group">
209 <button class=
"address-toggle">Toggle
</button>
213 <div class=
"input-group">
214 Private Key
215 <button class=
"private-key-toggle">Toggle
</button>
219 <tbody class=
"addresses">
220 <tr><td> </td><td> </td><td> </td></tr>
221 <tr><td> </td><td> </td><td> </td></tr>
222 <tr><td> </td><td> </td><td> </td></tr>
223 <tr><td> </td><td> </td><td> </td></tr>
224 <tr><td> </td><td> </td><td> </td></tr>
229 <span>Show next
</button>
230 <input type=
"number" class=
"rows-to-add" value=
"20">
231 <button class=
"more">Show
</button>
236 <div class=
"col-md-12">
238 <h3>BIP39
<span class=
"small">Mnemonic code for generating deterministic keys
</span></h3>
241 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki">official BIP39 spec
</a>
243 <h3>BIP32
<span class=
"small">Hierarchical Deterministic Wallets
</span></h3>
246 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki" target=
"_blank">official BIP32 spec
</a>
248 <a href=
"http://bip32.org/" target=
"_blank">bip32.org
</a>
250 <h3>BIP44
<span class=
"small">Multi-Account Hierarchy for Deterministic Wallets
</span></h3>
253 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki" target=
"_blank">official BIP44 spec
</a>
255 <h3>Private Keys
</h3>
258 <a href=
"https://brainwallet.github.io/" target=
"_blank">brainwallet.org
</a>,
259 but be careful - it can be easy to make mistakes if you
260 don't know what you're doing
268 <div class=
"col-md-12">
270 <h2>Offline Usage
</h2>
273 You can use this tool without having to be online.
276 In your browser, select file save-as, and save this page
280 Double-click that file to open it in a browser
281 on any offline computer.
284 Alternatively, download it from
285 <a href=
"https://github.com/dcpos/bip39">
286 https://github.com/dcpos/bip39
295 <div class=
"col-md-12">
297 <h2>This project is
100% open-source code
</h2>
300 <span>Get the source code at -
</span>
301 <a href=
"https://github.com/dcpos/bip39" target=
"_blank">
302 https://github.com/dcpos/bip39
309 <span>BitcoinJS -
</span>
310 <a href=
"https://github.com/bitcoinjs/bitcoinjs-lib" target=
"_blank">
311 https://github.com/bitcoinjs/bitcoinjs-lib
316 <span>jsBIP39 -
</span>
317 <a href=
"https://github.com/iancoleman/jsbip39" target=
"_blank">
318 https://github.com/iancoleman/jsbip39
324 <a href=
"https://github.com/bitwiseshiftleft/sjcl" target=
"_blank">
325 https://github.com/bitwiseshiftleft/sjcl
330 <span>jQuery -
</span>
331 <a href=
"https://jquery.com/" target=
"_blank">
337 <span>Twitter Bootstrap -
</span>
338 <a href=
"http://getbootstrap.com/" target=
"_blank">
339 http://getbootstrap.com/
348 <div class=
"feedback-container">
349 <div class=
"feedback">Loading...
</div>
352 <script type=
"text/template" id=
"address-row-template">
354 <td class=
"index"><span></span></td>
355 <td class=
"address"><span></span></td>
356 <td class=
"privkey"><span></span></td>
359 <script src=
"//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
360 <script src=
"https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
361 <script src=
"/js/bitcoinjs-1-0-0.js"></script>
362 <script src=
"/js/sjcl-bip39.js"></script>
363 <script src=
"/js/wordlists.js"></script>
364 <script src=
"/js/wordlist_english.js"></script>
365 <script src=
"/js/jsbip39.js"></script>
366 <script src=
"/js/index.js"></script>