package
1.7.2
Repository: https://github.com/lasthyphen/dijetalgo.git
Documentation: pkg.go.dev

# Functions

Decode [str] to bytes using the given encoding If [str] is the empty string, returns a nil byte slice and nil error.
EncodeWithChecksum [bytes] to a string using the given encoding format [bytes] may be nil, in which case it will be treated the same as an empty slice.
EncodeWithoutChecksum [bytes] to a string using the given encoding format [bytes] may be nil, in which case it will be treated the same as an empty slice.
FormatAddress takes in a chain prefix, HRP, and byte slice to produce a string for an address.
FormatBech32 takes an address's bytes as input and returns a bech32 address.
No description provided by the author
ParseAddress takes in an address string and splits returns the corresponding parts.
ParseBech32 takes a bech32 address as input and returns the HRP and data section of a bech32 address.

# Constants

CB58 specifies the CB58 encoding format.
Hex specifies a hex plus 4 byte checksum encoding format.
JSON specifies the JSON encoding format.

# Structs

No description provided by the author
No description provided by the author

# Interfaces

PrefixedStringer extends a stringer that adds a prefix.

# Type aliases

Encoding defines how bytes are converted to a string and vice versa.