trezorlib 0.0.2

Client library for interfacing with Trezor hardware wallet devices.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
extern crate trezor;

fn main() {
	let trezors = trezor::find_devices(false).unwrap();
	println!("Found {} devices: ", trezors.len());
	for t in trezors.into_iter() {
		println!("- {}", t);
		{
			let mut client = t.connect().unwrap();
			println!("{:?}", client.initialize().unwrap());
		}
	}
}