client

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2019 License: Apache-2.0 Imports: 8 Imported by: 10

Documentation

Index

Constants

View Source
const (
	FlagChainID   = "chain-id"
	FlagNode      = "node"
	FlagHeight    = "height"
	FlagTrustNode = "trust-node"
	FlagName      = "name"
	FlagSequence  = "sequence"
	FlagPrivKey   = "priv-key"
	FlagPrivKey2  = "priv-key2"
	FlagPubKey    = "pub-key"
	FlagFees      = "fees"

	// Infra
	FlagProvider = "provider"
	FlagUsage    = "usage"
)

nolint

Variables

View Source
var ValidateCmd = cosmoscli.ValidateCmd

Functions

func NewCoreContextFromViper

func NewCoreContextFromViper() core.CoreContext

func PostCommands

func PostCommands(cmds ...*cobra.Command) []*cobra.Command

PostCommands adds common flags for commands to post tx

Types

type CommandTxCallback

type CommandTxCallback func(cmd *cobra.Command, args []string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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