sample

package
v0.1.31 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL