-
Notifications
You must be signed in to change notification settings - Fork 27
newaddress Command Guide
The newaddress
command is used to generate a new, unused address within the currently selected account in your Mintlayer wallet.
Generating new addresses for different transactions can enhance privacy. By not reusing addresses, it becomes more challenging for third parties to associate transactions with a specific user or entity.
To generate a new unused address, simply use the following command:
newaddress
Upon execution, the command will return a fresh address that hasn't been used for any previous transactions within the selected account.
- It's a good practice to use a new address for each transaction to maintain privacy.
- Ensure you have selected the correct account (using the
selectaccount
command) before generating a new address if you have multiple accounts within your wallet.
By default, you can only generate up to 20 unused addresses consecutively. This limitation exists because the wallet scans the blockchain to check for balances associated with each address. To maintain efficiency, it only searches for the next 20 addresses on the selected derivation path. If you frequently generate new addresses, ensure you use them in transactions to avoid hitting this limit prematurely.
You can get the list of addresses using the command showreceiveaddresses
-
-h, --help
: Displays the help message for thenewaddress
command.