Skip to content

Latest commit

 

History

History
67 lines (41 loc) · 1.83 KB

readme.md

File metadata and controls

67 lines (41 loc) · 1.83 KB

BIP39 Tool

A tool for converting BIP39 mnemonic phrases to addresses and private keys.

Online Version

https://recovery.loafwallet.org

Standalone offline version

Download bip39-standalone.html

Open the file in a browser by double clicking it.

This can be compiled from source using the command python compile.py

Usage

Enter your BIP39 phrase into the 'BIP39 Phrase' field, or press 'Generate Random Phrase'

If required, set the derivation path, although the defaults are quite usable.

See the table for a list of addresses generated from the phrase.

Toggle columns to blank to easily copy/paste a single column of data, eg to import private keys into a wallet or supply someone with a list of addresses.

The BIP32 keys can be used at bip32.org if desired.

Making changes

Please do not make modifications to bip39-standalone.html, since they will be overwritten by compile.py.

Make changes in src/*.

Changes are applied during release using the command python compile.py, so please do not commit changes to bip39-standalone.html

Tests

Tests depend on

  • nodejs
  • selenium webdriver - cd /path/to/bip39/tests; npm install
  • selenium driver for firefox (geckodriver) and / or chrome (chromedriver)
  • jasmine - npm install --global jasmine

Before running tests, the site must be served at http://localhost:8000.

$ cd /path/to/bip39/src
$ python -m http.server

Run tests from the command-line

$ cd /path/to/bip39/tests
$ jasmine spec/tests.js

License

This LoafWallet Recovery tool is released under the terms of the MIT license. See LICENSE for more information or see https://opensource.org/licenses/MIT. This repo is a fork of https://github.com/iancoleman/bip39.