package
0.0.4
Repository: https://github.com/dfwallet/anatha.git
Documentation: pkg.go.dev

# Functions

CheckTendermintError checks if the error returned from BroadcastTx is a Tendermint error that is returned before the tx is submitted due to precondition checks that failed.
CreateVerifier returns a Tendermint verifier from a CLIContext object and cache size.
ErrInvalidAccount returns a standardized error reflecting that a given account address does not exist.
ErrVerifyCommit returns a common error reflecting that the blockchain commit at a given height can't be verified.
GetFromFields returns a from account address and Keybase name given either an address or key name.
NewCLIContext returns a new initialized CLIContext with parameters from the command line using Viper.
NewCLIContextWithFrom returns a new initialized CLIContext with parameters from the command line using Viper.
NewCLIContextWithInput returns a new initialized CLIContext with a io.Reader and parameters from the command line using Viper.
NewCLIContextWithInputAndFrom returns a new initialized CLIContext with parameters from the command line using Viper.

# Constants

DefaultVerifierCacheSize defines the default Tendermint cache size.

# Structs

CLIContext implements a typical CLI context created in SDK modules for transaction handling and queries.