package
Version:
v0.4.9-rc.2
Opens a new window with list of versions in this module.
Published: Dec 14, 2023
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
type Slip77 struct {
MasterKey []byte
}
FromMasterKey sets the provided master key to the returned instance of Slip77
FromSeed derives the master key from the given seed and uses it to create
and return a new Slip77 instance
func (s *Slip77) DeriveKey(script []byte) (*btcec.PrivateKey, *btcec.PublicKey, error)
DeriveKey derives a private key from the master key of the Slip77 type
and a provided script
Source Files
¶
Click to show internal directories.
Click to hide internal directories.