file

package
v0.0.0-...-19ae9e6 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2023 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// Bip44DerivationPath is the derivation path defined by BIP-44.
	Bip44DerivationPath = "m/44'/60'/0'/0/%d"
)
View Source
const (
	// Kind is the account kind for the file-backed accounts.
	Kind = "file"
)

Variables

This section is empty.

Functions

func Secp256k1FromHex

func Secp256k1FromHex(text string) (sdkSignature.Signer, error)

Secp256k1FromHex creates a signer from given hex-encoded private key.

func Secp256k1FromMnemonic

func Secp256k1FromMnemonic(mnemonic string, number uint32) (sdkSignature.Signer, error)

Secp256k1FromMnemonic derives a signer using BIP-44 from given mnemonic.

func SupportedAlgorithmsForImport

func SupportedAlgorithmsForImport(kind *wallet.ImportKind) []string

SupportedAlgorithmsForImport returns the algorithms supported by the given import kind.

Types

This section is empty.

Jump to

Keyboard shortcuts

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