DocumentationDevice AppIntegration walkthroughsHow-toRust Boilerplate

The Rust 🦀 boilerplate application

ℹ️

Stax device support is not ready yet and should be available later.

The Rust Boilerplate application is taylored to showcase both the capabilities of the Ledger Device Rust SDK (also published on crates.io) and our development environment (Docker containers, device emulator, test framework).

By cloning this application, you should find extensive examples on how to manage APDU communication, declare UI flows, use cryptographic APIs, but also how to integrate into our build and test environment.

With very little changes, you should be able to quickly have an application of your own.

🔨
Ready to start your project? Fork the repository now and dive into developing your Ledger device application with Rust!

Continuous Integration (CI)

In the Rust boilerplate application repository you will find a list of workflows to set up an efficient CI pipeline for your project.

⚠️
Setting up an efficient CI pipeline is crucial for your project’s success. The Guidelines enforcer and Build and Run functional tests workflows are mandatory for submitting your device application for review.
  • Guidelines_enforcer: this workflow calls a reusable workflow developed by Ledger’s internal developer team,
  • Build and Run functional tests: it builds the app and then runs functional tests. Functional tests can be run using the Ragger framework upon Speculos emulation but you can also use your own framework upon Speculos.
Ledger
Copyright © Ledger SAS. All rights reserved. Ledger, Ledger Nano S, Ledger Vault, Ledger OS are registered trademarks of Ledger SAS