To use Cardano's metadata feature:
- Decide on the data you want to include as metadata (must be 16KB or less).
- Structure your metadata according to the CIP-10 standard, typically in JSON format.
- If using a GUI wallet, check if it supports metadata attachment (some may not).
- For advanced users, use the Cardano CLI to create a transaction with metadata.
- Prepare your transaction as normal, then add the
--metadata-json-file
parameter with your metadata file. - Submit the transaction to the network.
- Once confirmed, your metadata will be permanently recorded on the blockchain, retrievable using the transaction ID.
Metadata can be used for various purposes like timestamping documents, adding notes to transactions, or supporting off-chain protocols.