The token-change-authority
command in Mintlayer is used to change the authority of a token. This command assigns a new cryptographic authority, responsible for conducting all operations that require token authority.
Note: To change an Authority on the Mintlayer Blockchain, 20 ML tokens are required to be burned. This amount will be automatically subtracted from your balance by the wallet.
token-change-authority <TOKEN_ID> <ADDRESS>
<TOKEN_ID>
: The identifier of the token for which the authority is to be changed.<ADDRESS>
: The address that will be assigned as the new authority for the token.-h, --help
: Displays help information about the token-change-authority
command.Changing the Authority of a Token:
Imagine you have a token with ID tmltk1rfd7gmcr4sat9fgfuxj2qrxys3kqwzjtghczap42km347cc57hps8hgnvm
, and you wish to change its authority to the address tmt1qx8lr7fp7mehn6vgt5vuqytpy5c97fds6u89xhe5
. The command would be:
token-change-authority tmltk1rfd7gmcr4sat9fgfuxj2qrxys3kqwzjtghczap42km347cc57hps8hgnvm tmt1qx8lr7fp7mehn6vgt5vuqytpy5c97fds6u89xhe5
Executing this command will transfer the authority of the specified token to the new address.