Categorygithub.com/openbazaar/zcashd-wallet
modulepackage
0.0.0-20180924204619-2b76590b8874
Repository: https://github.com/openbazaar/zcashd-wallet.git
Documentation: pkg.go.dev

# README

zcashd-wallet

OpenBazaar plugin for a zcashd based wallet

# Functions

CheckDecode decodes a string that was encoded with CheckEncode and verifies the checksum.
CheckEncode prepends a version byte and appends a four byte checksum.
DecodeAddress decodes the string encoding of an address and returns the Address if addr is a valid encoding for a known address type.
ExtractPkScriptAddrs returns the type of script, addresses and required signatures associated with the passed PkScript.
No description provided by the author
NewAddressPubKeyHash returns a new AddressPubKeyHash.
NewAddressScriptHash returns a new AddressScriptHash.
NewAddressScriptHashFromHash returns a new AddressScriptHash.
No description provided by the author
PayToAddrScript creates a new script to pay a transaction output to a the specified address.
No description provided by the author

# Constants

No description provided by the author

# Variables

ErrAddressCollision describes an error where an address can not be uniquely determined as either a pay-to-pubkey-hash or pay-to-script-hash address since the leading identifier is used for describing both address kinds, but for different networks.
ErrChecksumMismatch describes an error where decoding failed due to a bad checksum.
ErrInvalidFormat describes an error where decoding failed due to invalid version.
ErrUnknownAddressType describes an error where an address can not decoded as a specific address type due to the string encoding begining with an identifier byte unknown to any standard or registered (via chaincfg.Register) network.
No description provided by the author

# Structs

AddressPubKeyHash is an Address for a pay-to-pubkey-hash (P2PKH) transaction.
AddressScriptHash is an Address for a pay-to-script-hash (P2SH) transaction.
No description provided by the author
No description provided by the author
No description provided by the author