mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 23:21:06 +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
@@ -53,3 +53,18 @@ You can use the included vanity generator to find a seed that provides an addres
|
||||
```bash
|
||||
subkey vanity 1337
|
||||
```
|
||||
|
||||
=== Signing a transaction
|
||||
|
||||
Sign a transaction from an encoded `Call`.
|
||||
|
||||
```bash
|
||||
subkey sign-transaction \
|
||||
--call <call-as-hex> \
|
||||
--nonce 0 \
|
||||
--suri <secret-uri> \
|
||||
--password <password> \
|
||||
--prior-block-hash <prior-block-hash-as-hex>
|
||||
```
|
||||
|
||||
Will output a signed and encoded `UncheckedMortalCompactExtrinsic` as hex.
|
||||
|
||||
Reference in New Issue
Block a user