Versions in this module Expand all Collapse all v1 v1.0.0 Dec 21, 2023 Changes in this version + var BitcoinMainnetPrivate = [4]byte + var BitcoinMainnetPublic = [4]byte + var KaspaDevnetPrivate = [4]byte + var KaspaDevnetPublic = [4]byte + var KaspaMainnetPrivate = [4]byte + var KaspaMainnetPublic = [4]byte + var KaspaSimnetPrivate = [4]byte + var KaspaSimnetPublic = [4]byte + var KaspaTestnetPrivate = [4]byte + var KaspaTestnetPublic = [4]byte + func GenerateSeed() ([]byte, error) + type ExtendedKey struct + ChainCode [32]byte + ChildNumber uint32 + Depth uint8 + ParentFingerprint [4]byte + Version [4]byte + func DeserializeExtendedKey(extKeyString string) (*ExtendedKey, error) + func NewMaster(seed []byte, version [4]byte) (*ExtendedKey, error) + func NewMasterWithPath(seed []byte, version [4]byte, pathString string) (*ExtendedKey, error) + func NewPublicMasterWithPath(seed []byte, version [4]byte, pathString string) (*ExtendedKey, error) + func (extKey *ExtendedKey) Child(i uint32) (*ExtendedKey, error) + func (extKey *ExtendedKey) DeriveFromPath(pathString string) (*ExtendedKey, error) + func (extKey *ExtendedKey) IsPrivate() bool + func (extKey *ExtendedKey) PrivateKey() *secp256k1.ECDSAPrivateKey + func (extKey *ExtendedKey) Public() (*ExtendedKey, error) + func (extKey *ExtendedKey) PublicKey() (*secp256k1.ECDSAPublicKey, error) + func (extKey *ExtendedKey) String() string