Versions in this module Expand all Collapse all v0 v0.2.0 Feb 20, 2020 Changes in this version + const AccountStoreKey + const BroadcastAsync + const BroadcastBlock + const BroadcastSync + var ErrInvalidSigner = errors.New("Invalid signer") + func ErrInvalidAccount(addr sdk.AccAddress) error + func ErrVerifyCommit(height int64) error + func GetFromFields(from string, home string) (sdk.AccAddress, string, error) + type Context struct + AccountStore string + BroadcastMode string + Client rpcclient.Client + Codec *codec.Codec + From string + FromAddress sdk.AccAddress + FromName string + GenerateOnly bool + Height int64 + Home string + Indent bool + Keybase cryptokeys.Keybase + NodeURI string + Output io.Writer + OutputFormat string + Passphrase string + PrintResponse bool + PrivKey crypto.PrivKey + Simulate bool + SkipConfirm bool + TrustNode bool + UseLedger bool + VerifierHome string + func NewContext(chainID string, nodeURI string, home string) (*Context, error) + func NewContextWithDelay(chainID string, nodeURI string, home string) (*Context, error) + func (ctx *Context) GetVerifier() tmlite.Verifier + func (ctx *Context) PrintOutput(toPrint fmt.Stringer) (err error) + func (ctx *Context) Verify(height int64) (tmtypes.SignedHeader, error) + func (ctx *Context) WithAccountStore(accountStore string) *Context + func (ctx *Context) WithBroadcastMode(mode string) *Context + func (ctx *Context) WithClient(client rpcclient.Client) *Context + func (ctx *Context) WithCodec(cdc *codec.Codec) *Context + func (ctx *Context) WithFrom(from string) *Context + func (ctx *Context) WithFromAddress(addr sdk.AccAddress) *Context + func (ctx *Context) WithFromName(name string) *Context + func (ctx *Context) WithGenerateOnly(generateOnly bool) *Context + func (ctx *Context) WithHeight(height int64) *Context + func (ctx *Context) WithHome(home string) *Context + func (ctx *Context) WithNodeURI(nodeURI string) *Context + func (ctx *Context) WithOutput(w io.Writer) *Context + func (ctx *Context) WithPassphrase(passphrase string) *Context + func (ctx *Context) WithPrivKey(privKey crypto.PrivKey) *Context + func (ctx *Context) WithSimulation(simulate bool) *Context + func (ctx *Context) WithTrustNode(trustNode bool) *Context + func (ctx *Context) WithUseLedger(useLedger bool) *Context + func (ctx *Context) WithVerifier(verifier tmlite.Verifier) *Context + func (ctx Context) BroadcastTx(txBytes []byte) (res sdk.TxResponse, err error) + func (ctx Context) BroadcastTxAsync(txBytes []byte) (sdk.TxResponse, error) + func (ctx Context) BroadcastTxCommit(txBytes []byte) (sdk.TxResponse, error) + func (ctx Context) BroadcastTxSync(txBytes []byte) (sdk.TxResponse, error) + func (ctx Context) EnsureAccountExists() error + func (ctx Context) EnsureAccountExistsFromAddr(addr sdk.AccAddress) error + func (ctx Context) GetFromAddress() sdk.AccAddress + func (ctx Context) GetFromName() string + func (ctx Context) GetNode() (rpcclient.Client, error) + func (ctx Context) Query(path string, data cmn.HexBytes) ([]byte, int64, error) + func (ctx Context) QueryStore(key cmn.HexBytes, storeName string) ([]byte, int64, error) + func (ctx Context) QuerySubspace(subspace []byte, storeName string) (res []sdk.KVPair, err error) + func (ctx Context) QueryWithData(path string, data []byte) ([]byte, int64, error) + type QueryAccountParams struct + Address sdk.AccAddress