Skip to content

Acre Application based on PSBT and Descriptors

License

Notifications You must be signed in to change notification settings

thesis/acre-ledger-app

 
 

Repository files navigation

Ledger Acre Application

Acre Ledger App © 2024 by Acre is licensed under CC BY-NC-ND 4.0.

Prerequisite

Be sure to have your environment correctly set up (see Getting Started) and ledgerblue 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
make load     # load the app on the Nano using ledgerblue

Documentation

High level documentation on the architecture and interface of the app:

  • acre.md: specifications of application commands.
  • wallet.md: supported wallet signing policies.
  • merkle.md: rationale and specifications for the usage of Merkle trees.

Additional documentation can be generated with doxygen

doxygen .doxygen/Doxyfile

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

Client libraries

A Python client library is available in this repository.

Tests & Continuous Integration

The flow processed in GitHub Actions is the following:

It outputs 4 artifacts:

  • acre-app-debug within output files of the compilation process in debug mode
  • code-coverage within HTML details of code coverage
  • documentation within HTML auto-generated documentation

About

Acre Application based on PSBT and Descriptors

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 51.0%
  • Python 42.5%
  • C++ 3.3%
  • Jupyter Notebook 2.6%
  • Makefile 0.3%
  • CMake 0.2%
  • Shell 0.1%