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.
Click to show internal directories.
Click to hide internal directories.