Skip to content

Boilerplate application for Ledger Nano S/X

Notifications You must be signed in to change notification settings

Conflux-Chain/ledger-app-conflux

 
 

Repository files navigation

Conflux app for Ledger Wallet

Overview

This app adds support for the Conflux native token CFX to the Ledger Nano S/X hardware wallet.

Current Features:

  • Public key queries
  • Parse, display, and sign simple CFX transfer transactions
  • Blind sign arbitrary contract-call transactions (enabled via the Settings)
  • Sign arbitrary data (personal_sign)

Prerequisites

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

Compilation

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

Documentation

High level documentation such as APDU, and commands are included in the developer documentation which can be generated with doxygen

doxygen .doxygen/Doxyfile

the process outputs HTML and LaTeX documentations in doc/html and doc/latex folders.

Tests & Continuous Integration

The flow processed in GitHub Actions is the following:

It outputs 2 artifacts:

  • conflux-app-debug within output files of the compilation process in debug mode
  • speculos-log within APDU command/response when executing end-to-end tests

About

Boilerplate application for Ledger Nano S/X

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 81.6%
  • Python 15.5%
  • Makefile 1.7%
  • Other 1.2%