keypair

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2020 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyPair

type KeyPair struct {
	PublicKey  *btcec.PublicKey
	PrivateKey *btcec.PrivateKey
}

KeyPair defines the pair of public and private key

func FromPrivateKey

func FromPrivateKey(hexPriv string) (*KeyPair, error)

FromPrivateKey takes a hex encoded private key and returns a KeyPair instance

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL