Documentation ¶
Index ¶
Constants ¶
View Source
const ( // BaseDenom is the native staking token used by the chain and MUST MATCH the mint module's MintDenom parameter // This value is used by the lockup module to set the default locked token denom BaseDenom = "aalthea" // The whole token denom, aka 1 * 10^18 aalthea tokens DisplayDenom = "althea" // Chain ID configuration // 7357 = TEST, 417834 = ALTHEA mainnet ChainIdPrefix = "althea_7357-" ChainIdVersion = "1" )
View Source
const ( // Bech32PrefixAccAddr defines the Bech32 prefix of an account's address Bech32PrefixAccAddr = "althea" // Bech32PrefixAccPub defines the Bech32 prefix of an account's public key Bech32PrefixAccPub = "altheapub" // Bech32PrefixValAddr defines the Bech32 prefix of a validator's operator address Bech32PrefixValAddr = "altheavaloper" // Bech32PrefixValPub defines the Bech32 prefix of a validator's operator public key Bech32PrefixValPub = "altheavaloperpub" // Bech32PrefixConsAddr defines the Bech32 prefix of a consensus node address Bech32PrefixConsAddr = "altheavalcons" // Bech32PrefixConsPub defines the Bech32 prefix of a consensus node public key Bech32PrefixConsPub = "altheavalconspub" )
Variables ¶
View Source
var ( DefaultChainID = func() string { return ChainIdPrefix + ChainIdVersion } DefaultMinGasPrice = func() int64 { return 1 } )
Functions ¶
func RegisterDenoms ¶
func RegisterDenoms()
RegisterDenoms registers the base and display denominations to the SDK.
func SetBech32Prefixes ¶
func SetBip44CoinType ¶
SetBip44CoinType sets the global coin type to be used in hierarchical deterministic wallets. Sets up the default HD path to be m/44'/60'/0'/0/0 (m/purpose/coin_type/account/change/address_index)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.