The token-mint
command in Mintlayer is used to mint new tokens for a token that has already been issued. This process increases the total supply of the specified token.
Note: To change the supply of tokens on the Mintlayer Blockchain, 50 ML tokens are required to be burned. This amount will be automatically subtracted from your balance by the wallet.
token-mint <TOKEN_ID> <ADDRESS> <AMOUNT>
<TOKEN_ID>
: The identifier of the token for which new tokens are to be minted.<ADDRESS>
: The address that will receive the minted tokens.<AMOUNT>
: The amount of tokens to be minted.-h, --help
: Displays help information about the token-mint
command.Minting New Tokens:
To mint 100,000 new tokens of a token with ID tmltk1v6p95hcdft3fmg93kcp6k8r63mt769wh8huf3cmke2dvevyukckq0wcaqt
and send them to address tmt1q93cmj7jlza64ry3ckp5hyrtlcrnxlqm9sg6lvd2
, the command would be:
token-mint tmltk1v6p95hcdft3fmg93kcp6k8r63mt769wh8huf3cmke2dvevyukckq0wcaqt tmt1q93cmj7jlza64ry3ckp5hyrtlcrnxlqm9sg6lvd2 100000
Upon successful execution, the wallet will display:
The transaction was submitted successfully
This command is especially useful for managing the supply of tokens and distributing additional tokens as needed. It's important to use this command responsibly, as it directly affects the total supply of the token.