Versions in this module Expand all Collapse all v1 v1.0.0 Mar 14, 2024 Changes in this version + var BitcoinMainnetPrivate = [4]byte + var BitcoinMainnetPublic = [4]byte + var BugnaDevnetPrivate = [4]byte + var BugnaDevnetPublic = [4]byte + var BugnaMainnetPrivate = [4]byte + var BugnaMainnetPublic = [4]byte + var BugnaSimnetPrivate = [4]byte + var BugnaSimnetPublic = [4]byte + var BugnaTestnetPrivate = [4]byte + var BugnaTestnetPublic = [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