user5177: I hope all is well and everyone had a great holiday season. I am having an issue minting NFT's from the CLI they appear to be minting without metadata, even though I am referring to the fully populated metadata.json file used. All variables are correct ($variables are correct) Can anyone toss me a bone at what I'm doing wrong? The NFT does actually mint, just minus all metadata and thus no picture or details about the NFT.
My Minting Command =
cardano-cli transaction build \
--mainnet \
--alonzo-era \
--tx-in $txhash#$txix \
--tx-out $nftwallet+$output+"$tokenamount $policyid.$tokenname" \
--change-address $address \
--mint="$tokenamount $policyid.$tokenname" \
--minting-script-file $script \
--metadata-json-file metadata.json \
--invalid-hereafter $slotnumber \
--witness-override 2 \
--out-file matx.raw

Metadata file -
{
"721": {
"HIDDEN": {
"HIDDEN": {
"name": "NFT NAME HERE",
"image": "ipfs://IPFSLINKHERE",
"mediaType": "image/png",
"description": "DESCRIPTION HERE",
"files": [
{
"name": "PIC NAME HERE",
"mediaType": "image/png",
"src": "ipfs://IPFS LINK HERE"
}
]
}
},
"version": "1.0"
}
}


user5167: It's likely because your token name doesnt match between the CLI and the metadata.json file. Hard to say since you've hidden them...

5177: <p>I hope all is well and everyone had a great holiday season. I am having an issue minting NFT's from the CLI they appear to be minting without metadata, even though I am referring to the fully populated metadata.json file used. All variables are correct ($variables are correct) Can anyone toss me a bone at what I'm doing wrong? The NFT does actually mint, just minus all metadata and thus no picture or details about the NFT.</p>
<p>My Minting Command =</p>
<pre><code>cardano-cli transaction build \
--mainnet \
--alonzo-era \
--tx-in $txhash#$txix \
--tx-out $nftwallet+$output+&quot;$tokenamount $policyid.$tokenname&quot; \
--change-address $address \
--mint=&quot;$tokenamount $policyid.$tokenname&quot; \
--minting-script-file $script \
--metadata-json-file metadata.json \
--invalid-hereafter $slotnumber \
--witness-override 2 \
--out-file matx.raw
</code></pre>
<p>Metadata file -</p>
<pre><code>{
&quot;721&quot;: {
&quot;HIDDEN&quot;: {
&quot;HIDDEN&quot;: {
&quot;name&quot;: &quot;NFT NAME HERE&quot;,
&quot;image&quot;: &quot;ipfs://IPFSLINKHERE&quot;,
&quot;mediaType&quot;: &quot;image/png&quot;,
&quot;description&quot;: &quot;DESCRIPTION HERE&quot;,
&quot;files&quot;: [
{
&quot;name&quot;: &quot;PIC NAME HERE&quot;,
&quot;mediaType&quot;: &quot;image/png&quot;,
&quot;src&quot;: &quot;ipfs://IPFS LINK HERE&quot;
}
]
}
},
&quot;version&quot;: &quot;1.0&quot;
}
}
</code></pre>
 5167: <p>It's likely because your token name doesnt match between the CLI and the metadata.json file. Hard to say since you've hidden them...</p>
