Documentation ¶
Index ¶
- func GetSha256(data []byte) (hash []byte)
- func GetTagSha256(data []byte) (hash []byte)
- func PrepareTx(pkScript []byte, message string) (toSign *wire.MsgTx, err error)
- func SignSignatureP2WPKH(pkey, message string) (witness wire.TxWitness, pkScript []byte, err error)
- func SignSignatureTaproot(pkey, message string) (witness wire.TxWitness, pkScript []byte, err error)
- func VerifySignature(witness wire.TxWitness, pkScript []byte, message string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTagSha256 ¶
func SignSignatureP2WPKH ¶
func SignSignatureTaproot ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.