mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 03:01:07 +00:00
Extract vanity, add restore (#843)
This commit is contained in:
committed by
Gav Wood
parent
d4dbc306e8
commit
6d8bea5137
@@ -0,0 +1,25 @@
|
||||
name: subkey
|
||||
author: "Parity Team <admin@parity.io>"
|
||||
about: A substrate key utility
|
||||
subcommands:
|
||||
- restore:
|
||||
about: Gets a SS58 public key from the provided seed phrase
|
||||
args:
|
||||
- seed:
|
||||
index: 1
|
||||
required: true
|
||||
help: 32 bytes long seed phrase used to restore the public key. If the provided seed is shorter than that, then
|
||||
it will be right-padded with 0x20 bytes (ASCII space). If the provided seed is longer than
|
||||
32 bytes then seed will be truncated.
|
||||
- vanity:
|
||||
about: Generate vanity address
|
||||
args:
|
||||
- pattern:
|
||||
index: 1
|
||||
help: Desired pattern
|
||||
- number:
|
||||
short: n
|
||||
long: number
|
||||
help: Number of keys to generate
|
||||
takes_value: true
|
||||
default_value: "1"
|
||||
Reference in New Issue
Block a user