Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/conejoninja/tesoro
Go package for TREZOR devices
https://github.com/conejoninja/tesoro
bitcoin golang protobuf trezor trezor-devices usb
Last synced: 20 days ago
JSON representation
Go package for TREZOR devices
- Host: GitHub
- URL: https://github.com/conejoninja/tesoro
- Owner: conejoninja
- License: other
- Created: 2016-05-19T06:37:12.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-02-28T11:12:03.000Z (over 5 years ago)
- Last Synced: 2024-10-11T11:57:07.820Z (about 1 month ago)
- Topics: bitcoin, golang, protobuf, trezor, trezor-devices, usb
- Language: Go
- Size: 8.2 MB
- Stars: 11
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
TESORO [![Build Status](https://travis-ci.org/conejoninja/tesoro.svg?branch=master)](https://travis-ci.org/conejoninja/tesoro)
======
Go package to work with [TREZOR devices](http://bitcointrezor.com/). This repository is an unofficial package written in Go (golang), for any official package, code or tool, please go to the official [TREZOR repository](https://github.com/trezor)# ⚠️ 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](https://github.com/trezor/trezord-go/pull/147).
## 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
```bash
$ 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
```bash
// 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](https://github.com/conejoninja/cerrojo).## License
This is distributed under the Apache License v2.0
Copyright 2016 Daniel Esteban - [email protected]
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 athttp://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
![](https://raw.githubusercontent.com/conejoninja/cerrojo/master/assets/ribbon.png)
If you would like to donate via Bitcoin, please send your donation to this wallet:
![](https://raw.githubusercontent.com/conejoninja/cerrojo/master/assets/qr.png)
Bitcoin: **1G9d7uVvioNt8Emsv6fVmCdAPc41nX1c8J**