ledger_cosmos_go

package module
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2019 License: Apache-2.0 Imports: 4 Imported by: 10 modules, 4 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

ledger-cosmos-go

CircleCI Build status

This project is work in progress. Some aspects are subject to change.

Get source

Apart from cloning, be sure you install dep dependency management tool https://github.com/golang/dep

Documentation

Index

Constants

View Source
const (
	RequiredVersionMajor = 1
	RequiredVersionMinor = 0
	RequiredVersionPatch = 0
)

Variables

This section is empty.

Functions

This section is empty.

Types

type LedgerCosmos added in v0.9.3

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

User app

func FindLedgerCosmosUserApp added in v0.9.3

func FindLedgerCosmosUserApp() (*LedgerCosmos, error)

func (*LedgerCosmos) GetPublicKeySECP256K1 added in v0.9.3

func (ledger *LedgerCosmos) GetPublicKeySECP256K1(bip32_path []uint32) ([]byte, error)

func (*LedgerCosmos) GetVersion added in v0.9.3

func (ledger *LedgerCosmos) GetVersion() (*VersionInfo, error)

func (*LedgerCosmos) Hash added in v0.9.3

func (ledger *LedgerCosmos) Hash(transaction []byte) ([]byte, error)

func (*LedgerCosmos) SignSECP256K1 added in v0.9.3

func (ledger *LedgerCosmos) SignSECP256K1(bip32_path []uint32, transaction []byte) ([]byte, error)

func (*LedgerCosmos) TestGetPublicKeySECP256K1 added in v0.9.3

func (ledger *LedgerCosmos) TestGetPublicKeySECP256K1() ([]byte, error)

func (*LedgerCosmos) TestSignSECP256K1 added in v0.9.3

func (ledger *LedgerCosmos) TestSignSECP256K1(transaction []byte) ([]byte, error)

type LedgerCosmosValidator added in v0.9.3

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

Validator app

func FindLedgerCosmosValidatorApp added in v0.9.3

func FindLedgerCosmosValidatorApp() (*LedgerCosmosValidator, error)

func (*LedgerCosmosValidator) GetPublicKeyED25519 added in v0.9.3

func (ledger *LedgerCosmosValidator) GetPublicKeyED25519(bip32_path []uint32) ([]byte, error)

func (*LedgerCosmosValidator) GetVersion added in v0.9.3

func (ledger *LedgerCosmosValidator) GetVersion() (*VersionInfo, error)

func (*LedgerCosmosValidator) SignED25519 added in v0.9.3

func (ledger *LedgerCosmosValidator) SignED25519(bip32_path []uint32, message []byte) ([]byte, error)

type VersionInfo

type VersionInfo struct {
	AppMode uint8
	Major   uint8
	Minor   uint8
	Patch   uint8
}

Jump to

Keyboard shortcuts

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