diff --git a/.gitignore b/.gitignore index 3c3629e..f17d88e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ node_modules +bip39-standalone.html diff --git a/bip39-standalone.html b/bip39-standalone.html deleted file mode 100644 index d5c207f..0000000 --- a/bip39-standalone.html +++ /dev/null @@ -1,76381 +0,0 @@ - - - - - BIP39 - Mnemonic Code - - - - - - - - - -
- -

Mnemonic Code Converter

-

v0.3.2

-
-
-
-

Mnemonic

-
-
-
-
-

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).

-

- For more info see the - BIP39 spec. -

-
-
-
- -
-
-
- Generate a random mnemonic, or enter your own below: - - - words -
-
-
-
- -
-
-
- -
-
- -
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
- -
-
-
- -
- -
-
-

Derivation Path

- -
-
-
-
-
-
-

- For more info see the - BIP44 spec. -

-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
-

The account extended keys can be used for importing to most BIP44 compatible wallets, such as mycelium or electrum.

-
-
-
- -
- -
-
-
- -
- -
-
-
- -
-

The BIP32 derivation path and extended keys are the basis for the derived addresses.

-
-
-
- -
- -
-
-
-
-
-
-
-
-
-

- For more info see the - BIP32 spec -

-
-
- -
- -
-
-
- -
- -
-
-
-
- -
-
- -
-

- Use path m/0'/0' with hardened addresses. -

-

- For more info see the - Bitcoin Core BIP32 implementation -

-
-
-
- -
-

- Use path m/0'/0. -

-

- For more info see - MultiBit HD -

-
-
-
- -
-

- Use path m/44'/0'/0'. - Only enter the xpub extended key into block explorer search fields, never the xprv key. -

-

- Can be used with: - blockchain.info -

-
-
-
-
-
-
-
- -
-
-
-

- For more info see the - BIP49 spec. -

-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
-

The account extended keys can be used for importing to most BIP49 compatible wallets.

-
-
-
- -
- -
-
-
- -
- -
-
-
- -
-

The BIP32 derivation path and extended keys are the basis for the derived addresses.

-
-
-
- -
- -
-
-
-
-
-
-
-
- -
-
-
-

- For more info see the - BIP141 spec -

-
-
- -
- -
-
-
- -
- -
-
-
-
-
-
-
-
-
-
-

- For more info see the - BIP84 spec. -

-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
-

The account extended keys can be used for importing to most BIP84 compatible wallets.

-
-
-
- -
- -
-
-
- -
- -
-
-
- -
-

The BIP32 derivation path and extended keys are the basis for the derived addresses.

-
-
-
- -
- -
-
-
-
-
-
-
- -
- -
-
-
- -
- -
-
-
-
-
- -
- -
-
-

Derived Addresses

-

Note these addresses are derived from the BIP32 Extended Key

-
- - -
-
-
- - - - - - - - - - - - - - -
-
- Path   - -
-
-
- Address   - -
-
-
- Public Key   - -
-
-
- Private Key   - -
-
    
    
    
    
    
-
-
-
-
- -
-
-
-
- Show - - - starting from index - - (leave blank to generate from next index) - -
- -
-
-

More info

-

BIP39 Mnemonic code for generating deterministic keys

-

- Read more at the - official BIP39 spec -

-

BIP32 Hierarchical Deterministic Wallets

-

- Read more at the - official BIP32 spec -

-

- See the demo at - bip32.org -

-

BIP44 Multi-Account Hierarchy for Deterministic Wallets

-

- Read more at the - official BIP44 spec -

-

BIP49 Derivation scheme for P2WPKH-nested-in-P2SH based accounts

-

- Read more at the - official BIP49 spec -

-

Private Keys

-

- - Use private keys at - brainwallet.org. - - Be careful - it can be easy to make mistakes if you don't know what you're doing. -

-

Entropy

-

- - Entropy values must be sourced from a - strong source of randomness. - - This means flipping a fair coin, rolling a fair dice, noise measurements etc. - - Do NOT use phrases from books, lyrics from songs, your birthday or street address, - keyboard mashing, or anything you think is random, because chances are overwhelming it isn't - random enough for the needs of this tool. - -

-

- Do not store entropy. -

-

- Storing entropy (such as keeping a deck of cards in a specific shuffled order) is unreliable compared to storing a mnemonic. - Instead of storing entropy, store the mnemonic generated from the entropy. - Steganography may be beneficial when storing the mnemonic. -

-

- - The random mnemonic generator on this page uses a - cryptographically secure random number generator. - - The built in random generator can generally be trusted more than your own intuition about randomness. - If cryptographic randomness isn't available in your browser, this page will show a warning and the generate button will not work. - In that case you might choose to use your own source of entropy. -

-

- You are not a good source of entropy. -

-

License

-

- Please refer to the software license for more detail. - -

-

The software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.

-
-
- -
- -
-
-

Alternative Tools

-

This tool is interoperable with any BIP39 wallet.

-

Some similar tools to this one (ie not consumer wallets) are

-

- - https://bip32jp.github.io/english/ - -

-
-
- -
- -
-
- -

Offline Usage

- -

- You can use this tool without having to be online. -

-

- In your browser, select file save-as, and save this page - as a file. -

-

- Double-click that file to open it in a browser - on any offline computer. -

-

- Alternatively, download the file from the repository - - - https://github.com/iancoleman/bip39 -

- -
-
- -
- -
-
- -

This project is 100% open-source code

- -

- Get the source code from the repository - - - - https://github.com/iancoleman/bip39 - -

- -

Libraries

- -

- BitcoinJS - - - https://github.com/bitcoinjs/bitcoinjs-lib - -

- -

- jsBIP39 - - - https://github.com/iancoleman/jsbip39 - -

- -

- sjcl - - - https://github.com/bitwiseshiftleft/sjcl - -

- -

- jQuery - - - https://jquery.com/ - -

- -

- Twitter Bootstrap - - - http://getbootstrap.com/ - -

- -
-
- -
- - - -
-
Loading...
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/changelog.md b/changelog.md index 19049b0..f539fba 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,83 @@ +# 0.3.9 + +* Update BTG signing message +* Add segwit parameters for BTG +* Add segwit parameters for DigiByte +* Add Stash network (see 0.3.8s below) +* Add Salus network +* Add Cryptoescudo network +* Add ExchangeCoin network +* Add Artax network +* Add BitCloud network +* Add Megacoin network +* Add Bitcoin Green network +* Add ANON network +* Add ProjectCoin network +* Reword the 'generate' inputs and words +* Add note for running http server in python 2 +* Adjust test to run reliably on slow computers + +# 0.3.8s + +* Add Stash network + +# 0.3.8 + +* Add p2wpkh for litecoin +* Add more networks - TSTRAT, Hush, ETC, PIRL, CLO, MIX, MUSIC, POA, EXP +* Add coinomi/ledger client to BIP32 tab +* Fix SYSCOIN and BTX parameters +* Remove bip39-standalone.html from repository +* Remove duplicate id properties on html elements + +# 0.3.7 + +* Update AXE network parameters +* Add new networks - Xuez, BTCP, BTCZ, ZCL, ZEN +* Add litecoin bech32 params +* Fix BIP38 for altcoins +* Fix missing span closing tag +* Add indicator to UI for when BIP84 is unavailable +* Replace hasSegwit variable with test for segwit params +* Allow xpub to be used as root key for segwit derivations +* Add visual privacy safeguard + +# 0.3.6 + +* Add Kobocoin +* Update Vertcoin version byte and segwit support +* Add Zcash +* Korean mnemonics use ascii spaces +* Add CashAddr address format for bitcoin cash + +# 0.3.5 + +* Fix typo +* Add Neblio network +* Update bitcoinjs-lib from 3.3.0 to 3.3.2 +* Add Beetle Coin +* Add segwit for bitcoin testnet and Fujicoin +* Set coin number for Bitcoin God to 156 +* Add coins supported by coinomi +* Warn when generating low entropy mnemonics +* Warn when overriding weak entropy with a strong mnemonic length + +# 0.3.4 + +* Add BlackCoin +* Add Denarius +* Raw entropy shows groupings with space every 11 bits +* Checksum shown in entropy details +* Warn that entropy values should exclude checksum +* Add Korean language + +# 0.3.3 + +* Add AXE network +* Ethereum private key generation bugfix +* Add BIP38 support +* Allow initial number of rows to be set by the user + # 0.3.2 * Add Onixcoin diff --git a/readme.md b/readme.md index b22d4e3..269743c 100644 --- a/readme.md +++ b/readme.md @@ -74,6 +74,9 @@ Before running tests, the site must be served at http://localhost:8000. ``` $ cd /path/to/bip39/src $ python -m http.server + +or for python2 +$ python -m SimpleHTTPServer ``` Run tests from the command-line diff --git a/src/css/app.css b/src/css/app.css index 71109ef..576b7d7 100644 --- a/src/css/app.css +++ b/src/css/app.css @@ -103,3 +103,6 @@ body { overflow-x: scroll; font-family: monospace; } +.visual-privacy .private-data { + display: none; +} diff --git a/src/index.html b/src/index.html index d3333b5..a3d6c0c 100644 --- a/src/index.html +++ b/src/index.html @@ -15,7 +15,7 @@

Mnemonic Code Converter

-

v0.3.2

+

v0.3.9


@@ -36,8 +36,8 @@
- Generate a random mnemonic, or enter your own below: - + Generate a random mnemonic: + - words + words, or enter your own below. +
@@ -64,7 +69,7 @@
- + -
+
-
+
+ +
 
-
 
+
 
+
@@ -130,6 +142,15 @@
+
+
+
+ +
+
- +
- +
- +
@@ -173,7 +195,7 @@
- +
-
-
-
@@ -266,7 +288,7 @@ Account Extended Private Key
- +
@@ -274,7 +296,7 @@ Account Extended Public Key
- +
@@ -383,35 +405,35 @@

-
-
-
@@ -426,7 +448,7 @@ Account Extended Private Key
- +
@@ -434,7 +456,7 @@ Account Extended Public Key
- +
@@ -493,79 +515,89 @@

-
-
-

- For more info see the - BIP84 spec. -

-
-
- -
- + -
- +
+
- +

+ For more info see the + BIP84 spec. +

-
-
- -
- +
+ +
+ +
-
-
- -
- +
+ +
+ +
-
-
- -
-

The account extended keys can be used for importing to most BIP84 compatible wallets.

+
+ +
+ +
-
-
- -
- +
+ +
+ +
-
-
- -
- +
+ +
+

The account extended keys can be used for importing to most BIP84 compatible wallets.

+
-
-
- -
-

The BIP32 derivation path and extended keys are the basis for the derived addresses.

+
+ +
+ +
-
-
- -
- +
+ +
+ +
+
+
+ +
+

The BIP32 derivation path and extended keys are the basis for the derived addresses.

+
+
+
+ +
+ +
@@ -575,7 +607,7 @@
- +
@@ -595,13 +627,35 @@

Derived Addresses

Note these addresses are derived from the BIP32 Extended Key

-