sample

package
v0.1.37 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2026 License: MIT Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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