builder

package
v0.13.1 Latest Latest
Warning

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

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

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BroadcastTx

func BroadcastTx(tx []byte) (*ctypes.ResultBroadcastTxCommit, error)

Broadcast the transaction bytes to Tendermint

func GetFromAddress

func GetFromAddress() (from sdk.Address, err error)

Get the from address from the name flag

func GetPassphraseFromStdin added in v0.13.0

func GetPassphraseFromStdin(name string) (pass string, err error)

get passphrase from std input

func Query

func Query(key cmn.HexBytes, storeName string) (res []byte, err error)

Query from Tendermint with the provided key and storename

func SignAndBuild

func SignAndBuild(name, passphrase string, msg sdk.Msg, cdc *wire.Codec) ([]byte, error)

sign and build the transaction from the msg

func SignBuildBroadcast

func SignBuildBroadcast(name string, msg sdk.Msg, cdc *wire.Codec) (*ctypes.ResultBroadcastTxCommit, error)

sign and build the transaction from the msg

Types

This section is empty.

Jump to

Keyboard shortcuts

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