e2e

package
v0.0.0-...-cce48a0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2021 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CosmosAccounts = []Account{
	{Name: "validator1", Mnemonic: "remember huge castle bottom apology smooth avocado ceiling tent brief detect poem"},
	{Name: "validator2", Mnemonic: "capable dismiss rice income open wage unveil left veteran treat vast brave"},
	{Name: "validator3", Mnemonic: "jealous wrist abstract enter erupt hunt victory interest aim defy camp hair"},

	{Name: "user1", Mnemonic: "divide report just assist salad peanut depart song voice decide fringe stumble"},
	{Name: "user2", Mnemonic: "physical page glare junk return scale subject river token door mirror title"},

	{Name: "oracle0", Mnemonic: "bullet primary spider betray doctor truly cigar bulb whale bargain fence marble"},
	{Name: "oracle1", Mnemonic: "always impulse hobby nasty width find canyon grant juice doll scout inherit"},
	{Name: "oracle2", Mnemonic: "gloom kick buffalo long cruel refuse bind rather quiz chicken deer sausage"},
	{Name: "oracle3", Mnemonic: "science rabbit damp acquire clock oven february heavy path meat act essence"},
}

Functions

func KeyringForPrivKey

func KeyringForPrivKey(name string, privKey cryptotypes.PrivKey) (keyring.Keyring, error)

KeyringForPrivKey creates a temporary in-mem keyring for a PrivKey. Allows to init Context when the key has been provided in plaintext and parsed.

Types

type Account

type Account struct {
	Name     string
	Address  string
	Key      string
	Mnemonic string

	CosmosAccAddress cosmtypes.AccAddress
	CosmosValAddress cosmtypes.ValAddress

	PrivKey cryptotypes.PrivKey
	Keyring keyring.Keyring
}

func (*Account) Parse

func (a *Account) Parse()

Jump to

Keyboard shortcuts

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