Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 1.26 KB

README.md

File metadata and controls

46 lines (34 loc) · 1.26 KB

Ledger boilerplate app

Overview

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).

Building and installing

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

Example of Ledger wallet functionality

Test functionality:

# (x or s, depending on your device)
source prepare-devenv.sh x
python test_exemple.py --account_number 12345

Documentation

This follows the specification available in the api.asc.