Skip to content

Boilerplate application for Ledger Nano S/X

License

Notifications You must be signed in to change notification settings

Dolaned/nexa-ledger

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.

If you want to benefit from vscode integration, it's recommended to move the toolchain in /opt and set BOLOS_ENV environment variable as follows

BOLOS_ENV=/opt/bolos-devenv

and do the same with BOLOS_SDK environment variable

BOLOS_SDK=/opt/nanos-secure-sdk

Compilation

make DEBUG=1  # compile optionally with PRINTF (require debug firmware)
make load     # load the app on the Nano using ledgerblue

Tests & Continuous Integration

The flow processed in GitHub Actions is the following:

It outputs 4 artifacts:

  • boilerplate-app-debug within output files of the compilation process in debug mode
  • speculos-log within APDU commands and response when executing end-to-end tests
  • code-coverage within HTML details of code coverage
  • documentation within HTML auto-generated documentation

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%