package
0.0.0-20220620005849-a315113d9162
Repository: https://github.com/mycodeku/transtionhelper.git
Documentation: pkg.go.dev
# Functions
ComputeMastersFromSeed returns the master secret key's, and chain code.
CreateHDPath returns BIP 44 object from account and index parameters.
DerivePrivateKeyForPath derives the private key by following the BIP 32/44 path from privKeyBytes, using the given chainCode.
NewFundraiserParams creates a BIP 44 parameter object from the params: m / 44' / coinType' / account' / 0 / address_index The fixed parameters (purpose', coin_type', and change) are determined by what was used in the fundraiser.
NewParams creates a BIP 44 parameter object from the params: m / purpose' / coinType' / account' / change / addressIndex.
NewParamsFromPath parses the BIP44 path and unmarshals it into a Bip44Params.
# Constants
Ed25519Type represents the Ed25519Type signature system.
MultiType implies that a pubkey is a multisignature.
Secp256k1Type uses the Bitcoin secp256k1 ECDSA parameters.
Sr25519Type represents the Sr25519Type signature system.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
Secp256k1 uses the Bitcoin secp256k1 ECDSA parameters.
# Structs
BIP44Params is used as path field in ledger item in Record.
# Interfaces
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
PubKeyType defines an algorithm to derive key-pairs which can be used for cryptographic signing.