Documentation ¶
Index ¶
- func BroadcastTx(tx []byte) (*ctypes.ResultBroadcastTxCommit, error)
- func GetFromAddress() (from sdk.Address, err error)
- func GetPassphraseFromStdin(name string) (pass string, err error)
- func Query(key cmn.HexBytes, storeName string) (res []byte, err error)
- func SignAndBuild(name, passphrase string, msg sdk.Msg, cdc *wire.Codec) ([]byte, error)
- func SignBuildBroadcast(name string, msg sdk.Msg, cdc *wire.Codec) (*ctypes.ResultBroadcastTxCommit, error)
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 ¶
Get the from address from the name flag
func GetPassphraseFromStdin ¶ added in v0.13.0
get passphrase from std input
func SignAndBuild ¶
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.
Click to show internal directories.
Click to hide internal directories.