Estimated reading time: 2 minutes
Nano X
Important
The Nano X does not support side loading, therefore you must use the device emulator Speculos for loading to work. See how to install and use it.
Nano S and S Plus
Note
Before loading an application, make sure you have enough space on the device.
1. Define the udev rules
If you wish to load applications on your device, you must add the appropriate udev
rules.
wget -q -O - https://raw.githubusercontent.com/LedgerHQ/udev-rules/master/add_udev_rules.sh | sudo bash
2. Load and delete
Important
If you want to load and delete the app directly from the Container image.
You need to compile the application, in the source file of your application, adding the --privileged
option:
$ sudo docker run --rm -ti -v "/dev/bus/usb:/dev/bus/usb" -v "$(realpath .):/app"
--privileged ledger-app-builder:latest
While the Container image is running:
Load:
- Connect and unlock the Nano S or Nano S Plus.
- Go to the root of app‑boilerplate file
- Use
make load
(BOLOS_SDK=$NANOSP_SDK make load
for the S Plus)
- You can exit the Virtual Environment with the command
deactivate
.
Delete:
- Connect and unlock the Nano S or Nano S Plus.
- Go to the root of app‑boilerplate
- Type
make delete
to delete it
- You can exit the image, with the command
exit
.