tes
github.com/conejoninja/tesoro
go get github.com/conejoninja/tesoro
tes

github.com/conejoninja/tesoro

Go package for TREZOR devices

by Daniel Esteban

v0.0.0-20190228111155-7d2f2d76022f (see all)License:Apache-2.0
go get github.com/conejoninja/tesoro
Readme

TESORO Build Status

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

⚠️ Important notice ⚠️

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.

What is TREZOR?

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.

Installation

$ go get github.com/conejoninja/tesoro

Examples

examples/hid: only compatible with Linux (and Linux based), pure go, no libusb dependency.

Supported methods

*Some**

Tests

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.

Contributing to this project:

If you find any improvement or issue you want to fix, feel free to send me a pull request.

Cerrojo

For a similar project, compatible with both, KeepKey and Trezor One, take a look at CERROJO repository.

License

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.

Notes

If you would like to donate via Bitcoin, please send your donation to this wallet:

Bitcoin: 1G9d7uVvioNt8Emsv6fVmCdAPc41nX1c8J

GitHub Stars

11

LAST COMMIT

3yrs ago

MAINTAINERS

0

CONTRIBUTORS

8

OPEN ISSUES

0

OPEN PRs

0
VersionTagPublished
v0.0.0-20180630054544-e0e839b6a6f1
3yrs ago
v0.0.0-20190228111155-7d2f2d76022f
3yrs ago
v0.0.0-20180710062255-84cdf03cffd8
3yrs ago
No alternatives found
No tutorials found
Add a tutorial