package
0.0.0-20240808101904-8b7ac03009b2
Repository: https://github.com/hekas-network/hekas.git
Documentation: pkg.go.dev
# Functions
GetHekasAddressFromBech32 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: `hekas`).
IsMainnet returns true if the chain-id has the Hekas 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 Hekas testnet EIP155 chain prefix.
# Constants
xxx.
MainnetChainID defines the Hekas EIP155 chain ID for mainnet.
TestnetChainID defines the Hekas EIP155 chain ID for testnet.