Go package to work with TREZOR devices. This repository is an unofficial package written in Go (golang), for any official package, code or tool, please go to the official TREZOR repository
This project started as a Go library for TREZOR devices that I used for personal projects, it's no longer mantained. You could use the official trezord-go as a go library.
TREZOR is a single purpose device which allows you to make secure Bitcoin transactions. With TREZOR, transactions are completely safe even when initiated on a compromised or vulnerable computer.
$ go get github.com/conejoninja/tesoro
examples/hid: only compatible with Linux (and Linux based), pure go, no libusb dependency.
*Some**
Go to the tests folder and run them with
// Put your device in bootloader mode
go test -v tesoro_bootloader_test.go
// Disconnect and connect your device in normal mode
go test -v tesoro_test.go
Running tests the traditional Go way (go test) will not work, as for tesoro_bootloader_test.go to run you need to put your device in bootloader mode, the rest of the tests are run in normal mode.
If you find any improvement or issue you want to fix, feel free to send me a pull request.
For a similar project, compatible with both, KeepKey and Trezor One, take a look at CERROJO repository.
This is distributed under the Apache License v2.0
Copyright 2016 Daniel Esteban - conejo@conejo.me
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
If you would like to donate via Bitcoin, please send your donation to this wallet:
Bitcoin: 1G9d7uVvioNt8Emsv6fVmCdAPc41nX1c8J