X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FBIP39.git;a=blobdiff_plain;f=readme.md;h=269743c96c27fdca4dbb70b3ba088465dd57ca76;hp=c9a38c31c7574636fbc8568f621ad12964e7f6d7;hb=717a3ffcb285233e2d029ac5f544f70410d22d3d;hpb=1e6a9f416244cf00fa41c1237973de3174fa656f diff --git a/readme.md b/readme.md index c9a38c3..269743c 100644 --- a/readme.md +++ b/readme.md @@ -4,7 +4,7 @@ A tool for converting BIP39 mnemonic phrases to addresses and private keys. ## Online Version -https://iancoleman.github.io/bip39/ +https://iancoleman.io/bip39/ ## Standalone offline version @@ -45,7 +45,7 @@ If the list is too difficult to choose from, the EFF is a good choice. [Electronic Frontier Foundation](https://supporters.eff.org/donate) or for a direct bitcoin address, consider donating to the -[Free Software Foundation](https://my.fsf.org/civicrm/contribute/transact) +[Free Software Foundation](https://www.fsf.org/about/ways-to-donate/) at 1PC9aZC4hNX2rmmrt7uHTfYAS3hRbph4UN ![alt text](https://static.fsf.org/nosvn/images/bitcoin_qrcodes/fsf.png "FSF Bitcoin Address") @@ -55,16 +55,35 @@ at 1PC9aZC4hNX2rmmrt7uHTfYAS3hRbph4UN Please do not make modifications to `bip39-standalone.html`, since they will be overwritten by `compile.py`. -Make changes in `src/*` and apply them using the command `python 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 [phantomjs](http://phantomjs.org/). +Tests depend on + +* nodejs +* selenium webdriver - cd /path/to/bip39/tests; npm install +* selenium driver for firefox ([geckodriver](https://github.com/mozilla/geckodriver/releases)) and / or chrome ([chromedriver](https://sites.google.com/a/chromium.org/chromedriver/downloads)) +* 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 + +or for python2 +$ python -m SimpleHTTPServer +``` Run tests from the command-line ``` -$ phantomjs tests.js +$ cd /path/to/bip39/tests +$ jasmine spec/tests.js ``` # License