Versions in this module Expand all Collapse all v1 v1.0.1 Feb 12, 2023 Changes in this version + func CheckVersion(ver VersionInfo, req VersionInfo) error + func GetBip32bytesv1(bip32Path []uint32, hardenCount int) ([]byte, error) + func GetBip32bytesv2(bip44Path []uint32, hardenCount int) ([]byte, error) + func NewVersionRequiredError(req VersionInfo, ver VersionInfo) error + type LedgerCosmos struct + func FindLedgerCosmosUserApp() (_ *LedgerCosmos, rerr error) + func (ledger *LedgerCosmos) CheckVersion(ver VersionInfo) error + func (ledger *LedgerCosmos) Close() error + func (ledger *LedgerCosmos) GetAddressPubKeySECP256K1(bip32Path []uint32, hrp string) (pubkey []byte, addr string, err error) + func (ledger *LedgerCosmos) GetBip32bytes(bip32Path []uint32, hardenCount int) ([]byte, error) + func (ledger *LedgerCosmos) GetPublicKeySECP256K1(bip32Path []uint32) ([]byte, error) + func (ledger *LedgerCosmos) GetVersion() (*VersionInfo, error) + func (ledger *LedgerCosmos) SignSECP256K1(bip32Path []uint32, transaction []byte, p2 byte) ([]byte, error) + type LedgerTendermintValidator struct + func FindLedgerTendermintValidatorApp() (_ *LedgerTendermintValidator, rerr 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 RequiredTendermintValidatorAppVersion() VersionInfo + func (c VersionInfo) String() string + type VersionRequiredError struct + Found VersionInfo + Required VersionInfo + func (e VersionRequiredError) Error() string