package
0.1.7-beta-testnet
Repository: https://github.com/second-state/devchain.git
Documentation: pkg.go.dev
# Functions
DoTx is a helper function for the lazy :)
It uses only public functions and goes through the standard sequence of wrapping the tx with middleware layers, signing it, either preparing it, or posting it and displaying the result.
No description provided by the author
OutputTx validates if success and prints the tx result to stdout.
No description provided by the author
PostTx does all work once we construct a proper struct it validates the data, signs if needed, transforms to bytes, and posts to the node.
PostTx does all work once we construct a proper struct it validates the data, signs if needed, transforms to bytes, and posts to the node.
PrepareOrPostTx checks the flags to decide to prepare the tx for future multisig, or to post it to the node.
No description provided by the author
PrepareTx checks for FlagPrepare and if set, write the tx as json to the specified location for later multi-sig.
# Constants
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
# Variables
Middleware must be set in main.go to defined the wrappers we should apply.
RootCmd represents the base command when called without any subcommands.
# Interfaces
Validatable represents anything that can be Validated.
Wrapper defines the information needed for each middleware package that wraps the data.
# Type aliases
Wrappers combines a list of wrapper middlewares.