package
1.0.15
Repository: https://github.com/netcloth/netcloth-chain.git
Documentation: pkg.go.dev

# Packages

Package hd provides basic functionality Hierarchical Deterministic Wallets.
No description provided by the author
No description provided by the author

# Functions

Bech32ConsKeyOutput create a KeyOutput in with "cons" Bech32 prefixes.
Bech32KeyOutput create a KeyOutput in with "acc" Bech32 prefixes.
Bech32KeysOutput returns a slice of KeyOutput objects, each with the "acc" Bech32 prefixes, given a slice of Info objects.
Bech32ValKeyOutput create a KeyOutput in with "val" Bech32 prefixes.
New creates a new instance of a lazy keybase.
NewInMemory creates a transient keybase on top of in-memory storage instance useful for testing purposes and on-the-fly key generation.
NewKeyOutput creates a default KeyOutput instance without Mnemonic, Threshold and PubKeys.
NewMultiInfo creates a new multiInfo instance.

# Constants

ChineseSimplified is currently not supported.
ChineseTraditional is currently not supported.
used for deriving seed from mnemonic.
Ed25519 represents the Ed25519 signature system.
English is the default language to create a mnemonic.
French is currently not supported.
Italian is currently not supported.
Japanese is currently not supported.
Korean is currently not supported.
Secp256k1 uses the Bitcoin secp256k1 ECDSA parameters.
Spanish is currently not supported.
Info KeyTypes.
Info KeyTypes.
Info KeyTypes.
Info KeyTypes.

# Variables

ErrUnsupportedLanguage is raised when the caller tries to use a different language than english for creating a mnemonic sentence.
ErrUnsupportedSigningAlgo is raised when the caller tries to use a different signing scheme than secp256k1.

# Structs

KeyOutput defines a structure wrapping around an Info object used for output functionality.

# Interfaces

Info is the publicly exposed information about a keypair.
Keybase exposes operations on a generic keystore.

# Type aliases

KeyType reflects a human-readable type for key listing.
Language is a language to create the BIP 39 mnemonic in.
SigningAlgo defines an algorithm to derive key-pairs which can be used for cryptographic signing.