client

package
v0.6.9 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2019 License: Apache-2.0 Imports: 19 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 GetAddrOfCmd added in v0.6.7

func GetAddrOfCmd() *cobra.Command

func GetCmdBroadcast added in v0.3.7

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

GetCmdBoradcast -

func GetEncryptPrivKey added in v0.6.7

func GetEncryptPrivKey() *cobra.Command

func GetGenAddrCmd added in v0.6.7

func GetGenAddrCmd() *cobra.Command

func GetNowCmd added in v0.6.7

func GetNowCmd(cdc *amino.Codec) *cobra.Command

func GetPubKeyOfCmd added in v0.6.9

func GetPubKeyOfCmd() *cobra.Command

func NewCoreBroadcastContextFromViper added in v0.3.7

func NewCoreBroadcastContextFromViper() core.CoreContext

func NewCoreContextFromViper

func NewCoreContextFromViper() core.CoreContext

func ParsePrivKey added in v0.6.7

func ParsePrivKey(key string) (crypto.PrivKey, error)

func ParsePubKey added in v0.6.9

func ParsePubKey(key string) (crypto.PubKey, error)

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