This app is a boilerplate for a Nano S/X app. It does very little, and just expose a minimal API (get_app_config, get_address).
To build and install the app on your Ledger Nano S you must set up the Ledger Nano S build environments. Please follow the Getting Started instructions at here.
If you don't want to setup a global environnment, you can also setup one just for this app by sourcing prepare-devenv.sh
with the right target (s
or x
).
install prerequisite and switch to a Nano X dev-env:
sudo apt install python3-venv
# (x or s, depending on your device)
source prepare-devenv.sh x
Compile and load the app onto the device:
make load
Refresh the repo (required after Makefile edits):
make clean
Remove the app from the device:
make delete
Test functionality:
# (x or s, depending on your device)
source prepare-devenv.sh x
python test_example.py --account_number 12345
This follows the specification available in the api.asc
.