The address-deposit-data
command in Mintlayer is used to store data on the blockchain. The data must be provided as a hex-encoded string. It's important to note that storing data on the blockchain incurs a high fee.
Note: To deposit data on the Mintlayer Blockchain, 100 ML tokens are required to be burned. This amount will be automatically subtracted from your balance by the wallet.
address-deposit-data <HEX_DATA>
<HEX_DATA>
: The data to be deposited on the blockchain, represented as a hex string. Ensure that the data does not begin with 0x
.-h, --help
: Displays help information about the address-deposit-data
command.Depositing Data onto the Blockchain:
address-deposit-data 6d696e746c61796572206973207468652062657374
This command deposits the hex-encoded data 6d696e746c61796572206973207468652062657374
onto the blockchain.
Upon successful submission, the wallet will display:
The transaction was submitted successfully
This documentation provides clear instructions for using the address-deposit-data
command to store data on the blockchain. Remember to encode your data correctly and be aware of the associated fees.