client

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2019 License: Apache-2.0 Imports: 11 Imported by: 10

Documentation

Index

Constants

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

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

nolint

Variables

View Source
var ValidateCmd = cosmoscli.ValidateCmd

Functions

func GetCmdBroadcast added in v0.3.7

func GetCmdBroadcast(cdc *codec.Codec) *cobra.Command

GetCmdBoradcast -

func NewCoreBroadcastContextFromViper added in v0.3.7

func NewCoreBroadcastContextFromViper() core.CoreContext

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

type OptionalSigner added in v0.6.0

type OptionalSigner = core.OptionalSigner

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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