package
2.11.0+incompatible
Repository: https://github.com/zhongshuwen/zswchain-go.git
Documentation: pkg.go.dev

# Packages

Package base58 provides an API for working with modified base58 and Base58Check encodings.

# Functions

DecodeWIF creates a new WIF structure by decoding the string encoding of the import format.
DoubleHashB calculates hash(hash(b)) and returns the resulting bytes.
NewWIF creates a new WIF structure to export an address and its private key as a string encoded in the Wallet Import Format.

# Variables

ErrChecksumMismatch describes an error where decoding failed due to a bad checksum.
ErrMalformedPrivateKey describes an error where a WIF-encoded private key cannot be decoded due to being improperly formatted.

# Structs

WIF contains the individual components described by the Wallet Import Format (WIF).