package
0.0.0-20240301094714-d470d78178ab
Repository: https://github.com/akilachain/akila.git
Documentation: pkg.go.dev

# Functions

ComputeIBCDenom compute the ibc voucher denom associated to the portID, channelID, and the given a token denomination.
ComputeIBCDenomTrace compute the ibc voucher denom trace associated with the portID, channelID, and the given a token denomination.
CreateAccAddressFromBech32 creates an AccAddress from a Bech32 string.
GetAkilaAddressFromBech32 returns the sdk.Account address of given address, while also changing bech32 human readable prefix (HRP) to the value set on the global sdk.Config (eg: `akila`).
GetIBCDenomAddress returns the address from the hash of the ICS20's DenomTrace Path.
IsMainnet returns true if the chain-id has the Akila mainnet EIP155 chain prefix.
IsSupportedKey returns true if the pubkey type is supported by the chain (i.e eth_secp256k1, amino multisig, ed25519).
IsTestnet returns true if the chain-id has the Akila testnet EIP155 chain prefix.

# Constants

BaseDenom defines the Akila mainnet denomination.
MainnetChainID defines the Akila EIP155 chain ID for mainnet.
TestnetChainID defines the Akila EIP155 chain ID for testnet.