bitbox02

package
v4.14.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2019 License: Apache-2.0 Imports: 19 Imported by: 2

Documentation

Overview

Package bitbox02 implements the Device and Keystore interfaces to integrate the bitbox02 into the app.

Index

Constants

View Source
const ProductName = "bitbox02"

ProductName is the name of the BitBox02 product. If you change this, be sure to check the frontend and other places which assume this is a constant.

Variables

This section is empty.

Functions

This section is empty.

Types

type Device

type Device struct {
	api.Device
	// contains filtered or unexported fields
}

Device implements device.Device.

func NewDevice

func NewDevice(
	deviceID string,
	version *semver.SemVer,
	edition bitbox02common.Edition,
	config api.ConfigInterface,
	communication api.Communication,
) *Device

NewDevice creates a new instance of Device.

func (*Device) Identifier

func (device *Device) Identifier() string

Identifier implements device.Device.

func (*Device) KeystoreForConfiguration

func (device *Device) KeystoreForConfiguration(configuration *signing.Configuration, cosignerIndex int) keystoreInterface.Keystore

KeystoreForConfiguration implements device.Device.

func (*Device) ProductName

func (device *Device) ProductName() string

ProductName implements device.Device.

Directories

Path Synopsis
api
Package api contains the API to the physical device.
Package api contains the API to the physical device.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL