LedgerHQ / cargo-ledger

(Moved in the ledger device rust SDK --> https://github.com/LedgerHQ/ledger-device-rust-sdk). Load code on a Ledger device with a `cargo` subcommand
Apache License 2.0
15 stars 12 forks source link

Feat/device testing #23

Open yogh333 opened 1 year ago

yogh333 commented 1 year ago

Added a new command in cargo-ledger to be able to test Ledger device (speculos or hw device):

cargo ledger send --help
send apdus to app running in speculos env or in hw device

Usage: cargo ledger send [FILE] [BACKEND]

Arguments:
  [FILE]     file to read apdus from
  [BACKEND]  backend to use [default: speculos] [possible values: speculos, hid]

Options:
  -h, --help  Print help