mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-09 10:37:58 +00:00
Add possibility to sign calls via cli (#2549)
* Add possibility to sign calls via cli * Update subkey/README.adoc Co-Authored-By: Robert Habermeier <rphmeier@gmail.com>
This commit is contained in:
committed by
Gavin Wood
parent
e5b0a98f1a
commit
7f3d71d306
@@ -92,3 +92,36 @@ subcommands:
|
||||
help: Number of keys to generate
|
||||
takes_value: true
|
||||
default_value: "1"
|
||||
- sign-transaction:
|
||||
about: Sign transaction from encoded Call. Returns a signed and encoded UncheckedMortalCompactExtrinsic as hex.
|
||||
args:
|
||||
- call:
|
||||
short: c
|
||||
long: call
|
||||
help: The call, hex-encoded.
|
||||
takes_value: true
|
||||
required: true
|
||||
- nonce:
|
||||
short: n
|
||||
long: nonce
|
||||
help: The nonce.
|
||||
takes_value: true
|
||||
required: true
|
||||
- suri:
|
||||
long: suri
|
||||
short: s
|
||||
help: The secret key URI.
|
||||
takes_value: true
|
||||
required: true
|
||||
- password:
|
||||
short: p
|
||||
long: password
|
||||
takes_value: true
|
||||
help: The password for the key.
|
||||
required: true
|
||||
- prior-block-hash:
|
||||
short: h
|
||||
long: prior-block-hash
|
||||
help: The prior block hash, hex-encoded.
|
||||
takes_value: true
|
||||
required: true
|
||||
|
||||
Reference in New Issue
Block a user