1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-07-06 14:52:33 +00:00
trezor-firmware/rust/trezor-client
obrusvit f35ffa0c18 feat(core/sdbackup): insert/eject emulator SD card
- access through DebugLink
- card can be initialized with
    - serial_number (used for filename and later for shamir backup
      functionality)
    - capacity in bytes
    - manufacturer ID (used for recognition of Trezor card together with
      capacity)
- one debug protobuf message added serial_number set to None means
  ejecting the card from emulator
- TODO: initialize the card with preexisting data
2024-01-16 15:27:13 +01:00
..
build feat(rust): move trezor-client build script to separate crate (#3154) 2023-09-29 20:13:00 +02:00
examples fix(rust/trezor-client): update sign_message example 2023-11-28 09:55:39 +01:00
scripts fix(rust/trezor-client): fix Solana messages 2023-12-05 22:11:41 +01:00
src feat(core/sdbackup): insert/eject emulator SD card 2024-01-16 15:27:13 +01:00
.clippy.toml feat(rust): add trezor-client crate 2023-07-11 13:50:33 +02:00
.gitignore feat(rust): add trezor-client crate 2023-07-11 13:50:33 +02:00
Cargo.lock chore: re-generate bindings 2023-11-27 11:19:48 +01:00
Cargo.toml feat(solana): basic Solana setup 2023-12-05 22:11:41 +01:00
LICENSE feat(rust): add trezor-client crate 2023-07-11 13:50:33 +02:00
README.md docs(rust/trezor-client): update readme 2023-08-10 10:10:51 +02:00
rustfmt.toml feat(rust): add trezor-client crate 2023-07-11 13:50:33 +02:00

trezor-client

Downloads License [![CI Status][actions-badge]][actions-url]

A fork of a fork of a library that provides a way to communicate with a Trezor T device from a Rust project.

Previous iterations provided implementations for Bitcoin only. This crate also provides an Ethereum interface, mainly for use in ethers-rs.

Requirements

MSRV: 1.60

See the Trezor guide on how to install and use the Trezor Suite app.

Last tested with firmware v2.4.2.

Examples / Tests

cargo run --example features

Features

  • bitcoin and ethereum: client implementation and full support;
  • cardano, monero, nem, ripple, stellar and tezos: only protobuf bindings.

Credits