wif

package
v0.0.0-...-8e4544a Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(wif string) ([]byte, error)

Decode can be used to turn WIF into a raw private key (32 bytes).

func GetPublicKey

func GetPublicKey(wif string) ([]byte, error)

GetPublicKey returns the public key associated with the given WIF in the 33-byte compressed format.

func WifIsValid

func WifIsValid(privateWif, publicWif string) (bool, error)

WifIsValid check that private key conform to public key

Types

This section is empty.

Jump to

Keyboard shortcuts

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