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 (opens in a new tab)
(also published on crates.io (opens in a new tab)) and our development environment (Docker containers (opens in a new tab),
device emulator (opens in a new tab), test framework (opens in a new tab)).
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.
Continuous Integration (CI)
In the Rust boilerplate application repository you will find a list of workflows (opens in a new tab) to set up an efficient CI pipeline for your project.
- Guidelines_enforcer (opens in a new tab): this workflow calls a reusable workflow developed by Ledger's internal developer team,
- Build and Run functional tests (opens in a new tab): it builds the app and then runs functional tests. Functional tests can be run using the Ragger (opens in a new tab) framework upon Speculos (opens in a new tab) emulation but you can also use your own framework upon Speculos.