Documentation
¶
Index ¶
- func AccAddressAndKeyPair() (string, cryptotypes.PubKey, cryptotypes.PrivKey)
- func AccAddressAndPubKey() (string, cryptotypes.PubKey)
- func AccAddressBech32() string
- func ConsAddress() cosmostypes.ConsAddress
- func ConsAddressBech32() string
- func MorseAddressHex() string
- func ValOperatorAddress() cosmostypes.ValAddress
- func ValOperatorAddressBech32() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccAddressAndKeyPair ¶ added in v0.0.13
func AccAddressAndKeyPair() (string, cryptotypes.PubKey, cryptotypes.PrivKey)
AccAddressAndKeyPair returns a sample account address its public key and private key
func AccAddressAndPubKey ¶
func AccAddressAndPubKey() (string, cryptotypes.PubKey)
AccAddressAndPubKey returns a sample account address and public key
func AccAddressBech32 ¶ added in v0.1.28
func AccAddressBech32() string
AccAddressBech32 returns a sample account address
func ConsAddress ¶ added in v0.0.6
func ConsAddress() cosmostypes.ConsAddress
ConsAddress returns a sample consensus node address
func ConsAddressBech32 ¶ added in v0.0.11
func ConsAddressBech32() string
ConsAddressBech32 returns a bech32-encoded consensus address
func MorseAddressHex ¶ added in v0.0.13
func MorseAddressHex() string
MorseAddressHex returns the hex-encoded string representation of the address corresponding to a random Morse (ed25519) keypair.
func ValOperatorAddress ¶ added in v0.1.28
func ValOperatorAddress() cosmostypes.ValAddress
func ValOperatorAddressBech32 ¶ added in v0.1.28
func ValOperatorAddressBech32() string
ValOperatorAddressBech32 returns a sample validator bech32 operator address.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.