# Packages
Package bech32 provides a Go implementation of the bech32 format.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
AppDir returns an operating system specific directory to be used for storing application data for an application.
DecodeAddress decodes the string encoding of an address and returns the Address if addr is a valid encoding for a known address type.
HashBlake2b calculates the hash blake2b(b).
NewAddressPublicKey returns a new AddressPublicKey.
NewAddressPublicKeyECDSA returns a new AddressPublicKeyECDSA.
NewAddressScriptHash returns a new AddressScriptHash.
NewAddressScriptHashFromHash returns a new AddressScriptHash.
NewAmount creates an Amount from a floating point value representing some value in cryptix.
ParsePrefix attempts to parse a Bech32 address prefix.
# Constants
These constants define various units used when describing a cryptix monetary amount.
These constants define various units used when describing a cryptix monetary amount.
These constants define various units used when describing a cryptix monetary amount.
These constants define various units used when describing a cryptix monetary amount.
These constants define various units used when describing a cryptix monetary amount.
These constants define various units used when describing a cryptix monetary amount.
Prefix for the main network.
Prefix for the dev network.
Prefix for the simulation network.
Prefix for the test network.
Unknown/Erroneous prefix.
PublicKeySize is the public key size for a schnorr public key.
PublicKeySizeECDSA is the public key size for an ECDSA public key.
# Variables
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 dagconfig.Register) network.
# Structs
AddressPublicKey is an Address for a pay-to-pubkey (P2PK) transaction.
AddressPublicKeyECDSA is an Address for a pay-to-pubkey (P2PK) ECDSA transaction.
AddressScriptHash is an Address for a pay-to-script-publicKey (P2SH) transaction.
# Interfaces
Address is an interface type for any type of destination a transaction output may spend to.
# Type aliases
Amount represents the base cryptix monetary unit (colloquially referred to as a `Sompi').
AmountUnit describes a method of converting an Amount to something other than the base unit of a cryptix.
Bech32Prefix is the human-readable prefix for a Bech32 address.