The wallet-encrypt-private-keys
command in Mintlayer is used to encrypt the private keys of the wallet with a new password. This command enhances the security of your wallet by adding an encryption layer to your private keys. It requires the wallet to be in an unlocked state before execution.
Security: Encrypting your private keys adds an extra layer of security, protecting your assets in case your wallet file is accessed by unauthorized parties.
Password Memorization: Ensure you remember or securely store the new encryption password. Losing the password can result in being unable to access your private keys and, consequently, your funds.
Wallet State: The wallet must be unlocked before you can encrypt the private keys. Make sure your wallet is in the correct state before executing this command.
wallet-encrypt-private-keys <PASSWORD>
<PASSWORD>
: The new password to be used for encrypting the private keys.-h, --help
: Displays help information about the wallet-encrypt-private-keys
command.Encrypting Private Keys:
To encrypt the private keys of your wallet with the password strong-password
, the command would be:
wallet-encrypt-private-keys strong-password
Upon successful encryption, you will receive a confirmation:
Successfully encrypted the private keys of the wallet.
This message confirms that your wallet's private keys have been securely encrypted with the new password.
Note: This command is a critical step in securing your Wallet. Ensure that the password you choose is strong and securely stored.