# Functions
AccAddressFromBech32 creates an AccAddress from a Bech32 string.
AccAddressFromHexUnsafe creates an AccAddress from a HEX-encoded string.
AccAddressTypeFromBech32 creates an AccAddress from a Bech32 string.
CalculatePrefix returns address prefix by address bytes prefix.
ConsAddressFromBech32 creates a ConsAddress from a Bech32 string.
ConsAddressFromHex creates a ConsAddress from a hex string.
ConvertAndEncode converts from a base64 encoded byte string to base32 encoded byte string and then to bech32.
ConvertBits converts a byte slice where each byte is encoding fromBits bits, to a byte slice where each byte is encoding toBits bits.
Decode decodes a bech32 encoded string, returning the human-readable part and the data part excluding the checksum.
DecodeAndConvert decodes a bech32 encoded string and converts to base64 encoded bytes.
Encode encodes a byte slice into a bech32 string with the human-readable part hrb.
No description provided by the author
GetConfig returns the config instance for the SDK.
GetFromBech32 decodes a bytestring from a Bech32 encoded string.
ValAddressFromBech32 creates a ValAddress from a Bech32 string.
ValAddressFromHex creates a ValAddress from a hex string.
VerifyAddressFormat verifies that the provided bytes form a valid address according to the default address rules or a custom address verifier set by GetConfig().SetAddressVerifier().
# Constants
Constants defined here are the defaults value for address.
Bech32ErrorTypePrefix defines the Bech32 prefix type error.
Bech32PrefixAccAddr defines the Bech32 prefix of an account's address.
Bech32PrefixAccAddr defines the Bech32 prefix of an account's address.
Bech32PrefixAccPub defines the Bech32 prefix of an account's public key.
Bech32PrefixAccInsuranceAddr defines the Bech32 prefix of an insurance account's address.
Bech32PrefixAccInsurancePub defines the Bech32 prefix of an insurance account's public key.
Bech32PrefixConsAddr defines the Bech32 prefix of a consensus node address.
Bech32PrefixConsPub defines the Bech32 prefix of a consensus node public key.
Bech32PrefixConsPub defines the Bech32 prefix of a consensus node public key.
Bech32PrefixMultiSigAccAddr defines the Bech32 prefix of an multi sig account's address.
Bech32PrefixMultiSigAccPub defines the Bech32 prefix of an multi sig account's public key.
Bech32PrefixMultiSigAccInsuranceAddr defines the Bech32 prefix of an multi sig insurance account's address.
Bech32PrefixMultiSigAccInsurancePub defines the Bech32 prefix of an multi sig insurance account's public key.
Bech32PrefixValAddr defines the Bech32 prefix of a validator's operator address.
Bech32PrefixValPub defines the Bech32 prefix of a validator's operator public key.
Atom in https://github.com/satoshilabs/slips/blob/master/slip-0044.md.
Eth Addr length.
No description provided by the author
BIP44Prefix is the parts of the BIP44 HD path that are fixed by what we used during the fundraiser.
the multi signer standard account.
the multi signer vault account.
PrefixAccount is the prefix for account keys.
PrefixAddress is the prefix for addresses.
PrefixConsensus is the prefix for consensus keys.
PrefixOperator is the prefix for operator keys.
PrefixPublic is the prefix for public keys.
PrefixValidator is the prefix for validator keys.
the standard account.
the vault account.
# Variables
No description provided by the author
# Structs
AccTypeAddress a wrapper around bytes meant to represent an account with type address.
No description provided by the author
Coin defines a token with a denomination and an amount.
Config is the structure that holds the SDK configuration parameters.
No description provided by the author
StdFee includes the amount of coins paid in fees and the maximum gas to be used by the transaction.
StdSignature represents a sig.
No description provided by the author
# Type aliases
AccAddress a wrapper around bytes meant to represent an account address.
Balance is an alias to the Coin type from Cosmos-SDK.
Coins is a set of Coin, one per currency.
ConsAddress defines a wrapper around bytes meant to present a consensus node.
Int is an alias to the Int type from Cosmos-SDK.
TxEncoder marshals transaction to bytes.
ValAddress defines a wrapper around bytes meant to present a validator's operator.