X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FBIP39.git;a=blobdiff_plain;f=readme.md;h=65235e00faeaffe4256b5d4c4dea2708760736fc;hp=52b6e6fefbfd774c695b40d1feaab91490bf516e;hb=677d18f2e0e5281f741ac1870a537fe45e462e7f;hpb=e8f46253e8ba7fbc9b7ac93066addb9938cd767d diff --git a/readme.md b/readme.md index 52b6e6f..65235e0 100644 --- a/readme.md +++ b/readme.md @@ -4,13 +4,12 @@ A tool for converting BIP39 mnemonic phrases to addresses and private keys. ## Online Version -Upstream demo: https://iancoleman.github.io/bip39/ - -Slimcoin: TBD +https://iancoleman.io/bip39/ ## Standalone offline version -Download `bip39-standalone.html` +Download `bip39-standalone.html` from +[the releases](https://github.com/iancoleman/bip39/releases). Open the file in a browser by double clicking it. @@ -57,16 +56,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