-
Notifications
You must be signed in to change notification settings - Fork 13
Home
I think this can be repeated under the Mac OS X or linux.
You must install docker and python 3.5+ for debug script.
Then start the ledger docker container at host with attached working directory:
docker run -t -v ~/Documents/ledger:/home/ledger -i tolsi/ledger-devenv:latest
Then go to project path (for example /home/ledger/nanos-app-waves
) and build it:
make BOLOS_ENV=/opt/ledger/ BOLOS_SDK=/home/nanos-secure-sdk
That's all!
Now install it to your ledger (you need to connect it to pc, unlock and be on the main menu screen, not in the app and python 3.5+ with ledgerblue
package also):
virtualenv env
source env/bin/activate
pip install ledgerblue
and then call the installation command from the README or if you build it on your local machine
make delete
make load
Now you can try to communicate with this ledger app using the python script CLI client.
First, you need to install the dependencies:
pip install -r python2.7-dependencies.txt --no-index
Then enter the Waves app on your ledger and start python/ledger-waves.py
script.
python python/ledger-waves.py
NOTE: now this script use python 2.7, it works, but the latest ledgerblue
versions require python 3.5+. You can update it or deal with it.