The account-create
command in Mintlayer is used to create a new account within the wallet. You can optionally name the account for easier identification. It's important to note that if the last created account does not have a transaction history, this command will return an error.
account-create [NAME]
[NAME]
: Optional. A name for the new account. This helps in distinguishing between different accounts within the wallet.-h, --help
: Displays help information about the account-create
command.Creating an Account Without a Name:
account-create
This command creates a new account without a specific name. The account will be assigned a default identifier by the system.
Creating an Account With a Name:
account-create "My Savings Account"
This command creates a new account with the name "My Savings Account," allowing for easy identification within the wallet.