Keystore Options
Options when Using your Keystore
Use a custom keystore location
To use a custom keystore location, use the -path
flag:
The default location is ~/.hop/keystore.json
Use an existing private key
You may generate an encrypted keystore using an existing private key by using the --private-key
flag:
Note that you will no be prompted with the mnemonic in this case.
Decrypt keystore
Use the keystore decrypt
command to decrypt an encrypted keystore:
It will prompt you for the passphrase required to decrypt it:
It will display the private key if the passphrase is correct:
Re-encrypt keystore with a new passphrase
Use the keystore reencrypt
command to re-encrypt an encrypted keystore with a new passphrase:
View keystore address
Use the keystore address
command to print the keystore public address:
Example output:
Last updated