Versions in this module Expand all Collapse all v1 v1.0.0 Jun 19, 2022 Changes in this version + func ConvertAddresses(destChain string, toHRP string, addresses []string) ([]string, error) + func Decode(encoding Encoding, str string) ([]byte, error) + func EncodeWithChecksum(encoding Encoding, bytes []byte) (string, error) + func EncodeWithoutChecksum(encoding Encoding, bytes []byte) (string, error) + func FormatAddress(chainIDAlias string, hrp string, addr []byte) (string, error) + func FormatBech32(hrp string, payload []byte) (string, error) + func IntFormat(maxValue int) string + func ParseAddress(addrStr string) (string, string, []byte, error) + func ParseBech32(addrStr string) (string, []byte, error) + type DumpBytes []byte + func (db DumpBytes) String() string + type Encoding uint8 + const CB58 + const Hex + const JSON + func (enc *Encoding) UnmarshalJSON(b []byte) error + func (enc Encoding) MarshalJSON() ([]byte, error) + func (enc Encoding) String() string + type PrefixedStringer interface + PrefixedString func(prefix string) string