# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
BufferStdin is used to allow reading prompts for stdin multiple times, when we read from non-tty.
ConfigCmd returns a CLI command to interactively create a IRISCLI config file.
GetCheckPassword will prompt for a password twice to verify they match (for creating a new password).
GetCommands adds common flags to query commands.
GetConfirmation will request user give the confirmation from stdin.
GetKeyBase initializes a keybase based on the given db.
GetPassword will prompt for a password one-time (to sign a tx) It enforces the password length.
GetSeed will request a seed phrase from stdin and trims off leading/trailing spaces.
GetString simply returns the trimmed string output of a given reader.
MockKeyBase generates an in-memory keybase that will be discarded useful for --dry-run to generate a seed phrase without storing the key.
PostCommands adds common flags for commands to post tx.
PrintPrefixed prints a string with > prefixed for use in prompts.
ParseGasFlag parses the value of the --gas flag.
# Constants
DefaultGasAdjustment is applied to gas estimates to avoid tx execution failures due to state changes that might occur between the tx simulation and the actual run.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
MinPassLength is the minimum acceptable password length.
# Variables
LineBreak can be included in a command list to provide a blank line to help with readability.
LineBreak can be included in a command list to provide a blank line to help with readability.
# Structs
GasSetting encapsulates the possible values passed through the --gas flag.
StdSignMsg is a convenience structure for passing along a Msg with the other requirements for a StdSignDoc before it is signed.