Documentation
¶
Overview ¶
zcash provides a few tools to manipulate Zcash z-addresses.
Index ¶
- Variables
- func Base58Decode(s string) (result []byte, version [2]byte, err error)
- func Base58Encode(data []byte, version []byte) string
- func GenerateKey() []byte
- func GenerateVanityKey(prefix string, version []byte) []byte
- func KeyToAddress(key []byte) ([]byte, error)
- func KeyToViewingKey(key []byte) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func Base58Decode ¶
Base58Decode decodes a Base58Check encoding with two version bytes.
func Base58Encode ¶
Base58Encode encodes in Base58Check with two version bytes.
func GenerateVanityKey ¶
GenerateVanityKey generates a raw spending key that when converted to an address and encoded in Base58Check with the given version, has the given prefix.
func KeyToAddress ¶
KeyToAddress converts a raw spending key into a raw address.
func KeyToViewingKey ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.