mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-26 17:38:39 +00:00
12 lines
324 B
Rust
12 lines
324 B
Rust
fn main() {
|
|
let trezors = trezor_client::find_devices(false);
|
|
println!("Found {} devices: ", trezors.len());
|
|
for t in trezors.into_iter() {
|
|
println!("- {}", t);
|
|
{
|
|
let mut client = t.connect().unwrap();
|
|
println!("{:?}", client.initialize(None).unwrap());
|
|
}
|
|
}
|
|
}
|