trezor

package module
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2023 License: LGPL-2.1 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Encode

func Encode(msg proto.Message) ([]byte, error)

Types

type Config added in v1.1.0

type Config struct {
	DeriveCardano bool
	Logger        *log.Logger
	Passphrase    string
	EmulatorPort  int
}

type Message

type Message struct {
	Kind pb.MessageType
	Data []byte
}

func Decode

func Decode(binbody []byte) (*Message, error)

type Trezor

type Trezor struct {
	// contains filtered or unexported fields
}

func New

func New(cfg Config) (*Trezor, error)

func (*Trezor) Call

func (tr *Trezor) Call(msg proto.Message) (*Message, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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