Versions in this module Expand all Collapse all v1 v1.0.0 Aug 28, 2021 Changes in this version + func CheckVersion(ver VersionInfo, req VersionInfo) bool + func GetBip32bytes(bip32Path []uint32, hardenCount int) ([]byte, error) + type LedgerCosmos struct + func FindLedgerCosmosUserApp() (*LedgerCosmos, error) + func (ledger *LedgerCosmos) Close() error + func (ledger *LedgerCosmos) GetPublicKeySECP256K1(bip32Path []uint32) ([]byte, error) + func (ledger *LedgerCosmos) GetVersion() (*VersionInfo, error) + func (ledger *LedgerCosmos) Hash(transaction []byte) ([]byte, error) + func (ledger *LedgerCosmos) ShowAddressSECP256K1(bip32Path []uint32, hrp string) error + func (ledger *LedgerCosmos) SignSECP256K1(bip32Path []uint32, transaction []byte) ([]byte, error) + func (ledger *LedgerCosmos) TestGetPublicKeySECP256K1() ([]byte, error) + func (ledger *LedgerCosmos) TestSignSECP256K1(transaction []byte) ([]byte, error) + type LedgerTendermintValidator struct + func FindLedgerTendermintValidatorApp() (*LedgerTendermintValidator, error) + func (ledger *LedgerTendermintValidator) Close() error + func (ledger *LedgerTendermintValidator) GetPublicKeyED25519(bip32Path []uint32) ([]byte, error) + func (ledger *LedgerTendermintValidator) GetVersion() (*VersionInfo, error) + func (ledger *LedgerTendermintValidator) SignED25519(bip32Path []uint32, message []byte) ([]byte, error) + type VersionInfo struct + AppMode uint8 + Major uint8 + Minor uint8 + Patch uint8 + func RequiredCosmosUserAppVersion() VersionInfo + func RequiredTendermintValidatorAppVersion() VersionInfo + func (c VersionInfo) String() string