commands

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildMsg

func BuildMsg(from sdk.Address, to sdk.Address, coins sdk.Coins) sdk.Msg

func SendTxCmd

func SendTxCmd(Cdc *wire.Codec) *cobra.Command

SendTxCommand will create a send tx and sign it with the given key

Types

type Commander

type Commander struct {
	Cdc *wire.Codec
}

func (Commander) SignMessage

func (c Commander) SignMessage(msg sdk.Msg, kb cryptokeys.Keybase, accountName string, password string) ([]byte, error)

Jump to

Keyboard shortcuts

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