Documentation ¶
Index ¶
Constants ¶
View Source
const AccountAddressPrefix = "paloma"
AccountAddressPrefix defines the Paloma network's Bech32 address prefix.
Variables ¶
View Source
var ( AccountPubKeyPrefix = AccountAddressPrefix + "pub" ValidatorAddressPrefix = AccountAddressPrefix + "valoper" ValidatorPubKeyPrefix = AccountAddressPrefix + "valoperpub" ConsNodeAddressPrefix = AccountAddressPrefix + "valcons" ConsNodePubKeyPrefix = AccountAddressPrefix + "valconspub" )
Account specific Bech32 prefixes.
Functions ¶
func SetAddressConfig ¶
func SetAddressConfig()
SetAddressConfig sets Paloma's address configuration.
Types ¶
type EncodingConfig ¶
type EncodingConfig struct { InterfaceRegistry types.InterfaceRegistry Codec codec.Codec TxConfig client.TxConfig Amino *codec.LegacyAmino }
EncodingConfig specifies the concrete encoding types to use for Paloma. This is provided for compatibility between Protobuf and Amino implementations.
func MakeEncodingConfig ¶
func MakeEncodingConfig() EncodingConfig
MakeEncodingConfig creates an EncodingConfig without any types registered. A caller should call MakeEncodingConfig and register the desired types and interfaces.
Click to show internal directories.
Click to hide internal directories.