Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Secp256k1Key ¶
type Secp256k1Key struct {
PrivateKey *ecdsa.PrivateKey
}
func HexToKey ¶
func HexToKey(hexkey string) (*Secp256k1Key, error)
func RandomNew ¶
func RandomNew() (*Secp256k1Key, error)
func ToKey ¶
func ToKey(d []byte) (*Secp256k1Key, error)
func (*Secp256k1Key) Bytes ¶
func (k *Secp256k1Key) Bytes() []byte
func (*Secp256k1Key) PubKey ¶
func (k *Secp256k1Key) PubKey() []byte
func (*Secp256k1Key) Script ¶
func (k *Secp256k1Key) Script(systemScripts *utils.SystemScripts) (*types.Script, error)
Click to show internal directories.
Click to hide internal directories.