]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/BIP39.git/blame - readme.md
Update readme and Licence
[perso/Immae/Projets/Cryptomonnaies/BIP39.git] / readme.md
CommitLineData
609c4de5
IB
1[TOC]
2
ebd8d4e8
IC
3# BIP39 Tool
4
5A tool for converting BIP39 mnemonic phrases to addresses and private keys.
6
609c4de5
IB
7This tool tries to find the best world between Coinomi's and
8iancoleman's versions of the implementation, plus a few additions.
9
10Note that this version is centered on my use of Coinomis's wallet, which
11has a few differences to exact BIP44 implementation:
12
13- Coinomi's Ethereum networks don't use change in the BIP44 path.
14
ebd8d4e8
IC
15## Online Version
16
609c4de5 17[https://tools.immae.eu/BIP39](https://tools.immae.eu/BIP39)
ebd8d4e8
IC
18
19## Standalone offline version
20
21Download `bip39-standalone.html`
22
23Open the file in a browser by double clicking it.
24
ab78acc6
IC
25This can be compiled from source using the command `python compile.py`
26
ebd8d4e8
IC
27## Usage
28
29Enter your BIP39 phrase into the 'BIP39 Phrase' field, or press
30'Generate Random Phrase'
31
32If required, set the derivation path, although the defaults are quite usable.
33
34See the table for a list of addresses generated from the phrase.
35
36Toggle columns to blank to easily copy/paste a single column of data, eg to
37import private keys into a wallet or supply someone with a list of addresses.
38
39The BIP32 keys can be used at [bip32.org](https://bip32.org) if desired.
ab78acc6 40
1e6a9f41
IC
41## Donations
42
43Since this project is the efforts of many people, most of which don't appear in
44the obvious places like code or issues, donating to the project itself causes
45significant operational difficulties.
46
47As a result, if you would like to support this project financially you are
48encouraged to donate to one of the many groups that makes the internet a place
49amenable to projects such as this one.
50
51[Donation-accepting organizations and projects](https://en.bitcoin.it/wiki/Donation-accepting_organizations_and_projects)
52
53If the list is too difficult to choose from, the EFF is a good choice.
54
55[Electronic Frontier Foundation](https://supporters.eff.org/donate)
56
57or for a direct bitcoin address, consider donating to the
982e4e75 58[Free Software Foundation](https://www.fsf.org/about/ways-to-donate/)
1e6a9f41
IC
59at 1PC9aZC4hNX2rmmrt7uHTfYAS3hRbph4UN
60
61![alt text](https://static.fsf.org/nosvn/images/bitcoin_qrcodes/fsf.png "FSF Bitcoin Address")
62
ab78acc6
IC
63## Making changes
64
65Please do not make modifications to `bip39-standalone.html`, since they will
66be overwritten by `compile.py`.
67
6024e655
IC
68Make changes in `src/*`.
69
70Changes are applied during release using the command `python compile.py`, so
71please do not commit changes to `bip39-standalone.html`
88e2cdaa
IC
72
73# Tests
74
0460b53f
IC
75Tests depend on
76
77* nodejs
78* selenium webdriver - cd /path/to/bip39/tests; npm install
79* selenium driver for firefox ([geckodriver](https://github.com/mozilla/geckodriver/releases)) and / or chrome ([chromedriver](https://sites.google.com/a/chromium.org/chromedriver/downloads))
80* jasmine - npm install --global jasmine
81
82Before running tests, the site must be served at http://localhost:8000.
83
84```
85$ cd /path/to/bip39/src
86$ python -m http.server
ba637be8
IC
87
88or for python2
89$ python -m SimpleHTTPServer
0460b53f 90```
88e2cdaa
IC
91
92Run tests from the command-line
93
94```
0460b53f
IC
95$ cd /path/to/bip39/tests
96$ jasmine spec/tests.js
88e2cdaa 97```
24ebb699
IC
98
99# License
100
101This BIP39 tool is released under the terms of the MIT license. See LICENSE for
102more information or see https://opensource.org/licenses/MIT.