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 ¶
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 ¶
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 ¶
ProductName implements device.Device.
Click to show internal directories.
Click to hide internal directories.