address

package
v0.0.0-...-89d61c9 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PublicKeyToWPKHaddress

func PublicKeyToWPKHaddress(
	publicKey *btcec.PublicKey,
	networkParams *chaincfg.Params,
) (string, error)

PublicKeyToWPKHaddress calculates Witness Public Key Hash address for the given public key. It returns the address encoded to a string.

func WIFtoPublicKey

func WIFtoPublicKey(wifString string) (*btcec.PublicKey, error)

WIFtoPublicKey decodes WIF from provided string value and returns a public key associated with the WIF.

Types

This section is empty.

Jump to

Keyboard shortcuts

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