The token-lock-supply
command in Mintlayer is used to lock the circulating supply of a token. This action is irreversible. Once a token's supply is locked, it will no longer be possible to mint or unmint those tokens.
Irreversibility: Be aware that locking the supply of a token is a permanent action. Once executed, it cannot be undone, and the token will lose the capability for any future minting or unminting.
Note: To lock 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-lock-supply <TOKEN_ID>
<TOKEN_ID>
: The identifier of the token whose supply you want to lock.-h, --help
: Displays help information about the token-lock-supply
command.Locking a Token's Supply:
If you wish to lock the supply of a token with ID tmltk1v6p95hcdft3fmg93kcp6k8r63mt769wh8huf3cmke2dvevyukckq0wcaqt
, the command would be:
token-lock-supply tmltk1v6p95hcdft3fmg93kcp6k8r63mt769wh8huf3cmke2dvevyukckq0wcaqt
After executing this command, the supply of the specified token will be permanently locked.
This documentation provides a clear guide on how to use the token-lock-supply
command to lock the supply of a token. Users should exercise caution and ensure they fully understand the implications of this irreversible action.