This is a boilerplate application which can be forked to start a new project for the Ledger Nano S/X.
Be sure to have your environment correctly set up (see Getting Started) and ledgerblue and installed.
make DEBUG=1 # compile with PRINTF
make load # load the app on the Nano using ledgerblue
End-to-end tests are implemented in Python and can be executed either using the Speculos emulator or a Ledger Nano S/X.
The following Python dependencies are required:
First start your application with Speculos
./speculos.py /path/to/app-boilerplate/bin/elf --ontop --sdk 1.6
then at the root of app-boilerplate
folder run
pytest
Be sure to have you device connected through USB (without any other software interacting with it) and run
pytest --hid