testapp

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Bech32MainPrefix = "app"
)

Variables

This section is empty.

Functions

func GeneratePrivKeyAddressPairs

func GeneratePrivKeyAddressPairs(n int) (keys []cryptotypes.PrivKey, addrs []sdk.AccAddress)

Migrated from github/kava/app/test_common.go GeneratePrivKeyAddressPairsFromRand generates (deterministically) a total of n private keys and addresses. TODO only generate secp256 keys?

func SetBech32AddressPrefixes

func SetBech32AddressPrefixes(config *sdk.Config)

Types

type GenesisState

type GenesisState map[string]json.RawMessage

Migrated from github/kava/app/genesis.go GenesisState represents the genesis state of the blockchain. It is a map from module names to module genesis states.

Jump to

Keyboard shortcuts

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