Skip to content

Boilerplate application for Ledger Nano S/X

License

Notifications You must be signed in to change notification settings

Dolaned/nexa-ledger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ledger Boilerplate Application

This is a boilerplate application which can be forked to start a new project for the Ledger Nano S/X.

Prerequisite

Be sure to have your environment correctly set up (see Getting Started) and ledgerblue and installed.

Compilation

make DEBUG=1  # compile with PRINTF
make load     # load the app on the Nano using ledgerblue 

Tests

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:

Using Speculos

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

Using Nano S/X

Be sure to have you device connected through USB (without any other software interacting with it) and run

pytest --hid

About

Boilerplate application for Ledger Nano S/X

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 61.4%
  • Python 28.1%
  • CMake 4.6%
  • Makefile 4.2%
  • C++ 1.1%
  • Shell 0.6%