x/auth: add sign-batch command (#6350)

The command processes list of transactions from file
(one StdTx each line), generate signed transactions
or signatures and print their JSON encoding, delimited
by '\n'. As the signatures are generated, the command
increments the sequence number automatically.

Author: @jgimeno
Reviewed-by: @alessio
This commit is contained in:
Alessio Treglia
2020-06-08 17:19:29 +02:00
committed by GitHub
parent b618e0a827
commit 65ea305336
9 changed files with 285 additions and 6 deletions
+1
View File
@@ -132,6 +132,7 @@ func txCmd(cdc *codec.Codec) *cobra.Command {
bankcmd.NewSendTxCmd(clientCtx),
flags.LineBreak,
authcmd.GetSignCommand(cdc),
authcmd.GetSignBatchCommand(cdc),
authcmd.GetMultiSignCommand(cdc),
authcmd.GetValidateSignaturesCommand(cdc),
flags.LineBreak,