# Functions
AddressToBech32 encodes the given address into bech32 format.
Bech32ToAddress decodes the given bech32 address.
BigToAddress returns Address with byte values of b.
BigToHash sets byte representation of b to hash.
BuildBech32Addr encodes the given human-readable-part string and address into a bech32 address.
BytesToAddress returns Address with value b.
BytesToHash sets b to hash.
HexToAddress returns Address with byte values of s.
HexToHash sets byte representation of s to hash.
IsBech32Address verifies whether a string can represent a valid bech32-encoded Feechain address or not.
MustAddressToBech32 encodes the given address into bech32 format.
MustBech32ToAddress decodes the given bech32 address.
MustBuildBech32Addr encodes the given human-readable-part string and address into a bech32 address.
MustGeneratePrivateKey generates a random private key for an address.
ParseAddr parses the given address, either as bech32 or as hex.
ParseBech32Addr decodes the given bech32 address and populates the given human-readable-part string and address with the decoded result.
# Constants
AddressLength is the expected length of the address.
HashLength is the expected length of the hash.
# Variables
Bech32AddressHRP is the human-readable part of the Feechain address used by this process.
# Type aliases
Address represents the 20 byte address of an Feechain account.
Hash represents the 32 byte Keccak256 hash of arbitrary data.
UnprefixedAddress allows marshaling an Address without 0x prefix.
UnprefixedHash allows marshaling a Hash without 0x prefix.