mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 03:01:07 +00:00
Subkey can construct and sign transfer txs (#2109)
* First effort * Fix for encoding * !fixed subkey xfer creation (still brittle because of double-hardcoded genesis_hash (#2221) * CLI genesis hash * Add test * Slightly nicer text * Fix Elm hash * Update lock file
This commit is contained in:
@@ -40,6 +40,30 @@ subcommands:
|
||||
long: hex
|
||||
help: The message on STDIN is hex-encoded data
|
||||
takes_value: false
|
||||
- transfer:
|
||||
about: Author and sign a Node balances::Transfer transaction with a given (secret) key
|
||||
args:
|
||||
- from:
|
||||
index: 1
|
||||
required: true
|
||||
help: The signing secret key URI.
|
||||
- to:
|
||||
index: 2
|
||||
required: true
|
||||
help: The destination account public key URI.
|
||||
- amount:
|
||||
index: 3
|
||||
required: true
|
||||
help: The number of units to transfer.
|
||||
- index:
|
||||
index: 4
|
||||
required: true
|
||||
help: The signing account's transaction index.
|
||||
- genesis:
|
||||
short: g
|
||||
long: genesis
|
||||
help: The genesis hash or a recognised chain identifier (dev, elm, alex).
|
||||
takes_value: true
|
||||
- verify:
|
||||
about: Verify a signature for a message, provided on STDIN, with a given (public or secret) key
|
||||
args:
|
||||
|
||||
Reference in New Issue
Block a user