<p>The asset name in the metadata should probably be &quot;ANIMALSP01#28&quot; instead of the hex representation (&quot;414e494d414c53503031233238&quot;), according to the version 1 of <a href="https://github.com/cardano-foundation/CIPs/tree/master/CIP-0025" rel="nofollow noreferrer">CIP-025</a>.</p>

CC BY-SA 4.0
2023-01-23T13:36:45.573Z
you are completely right. I was wrong because of the example given in the pycardano's repository
Andre Morais
CC BY-SA 4.0
2023-01-20T18:15:53.363Z
2023-01-20T18:15:53.363Z
sean
<p>the following image illustrates my problem: all the NFTs I've been minting is being seen as normal native tokens instead of collectibles.</p>
<p>For example, for the ANIMALSP01#28, the metadata in the transaction is:</p>
<pre><code>{
721:{
   58acb2cb1ae017ede95e8e0a5801e0b3fc3036296adc242490d53cfd: {
      414e494d414c53503031233238: {
         description: &quot;&quot;,
         name: &quot;Koala&quot;,
         type: &quot;Animal&quot;,
         image: &quot;ipfs://QmcYZXh9mjdNC1TfyPKWSbGF2LV5Y7Et75A5DwjjRktMUH&quot;,
         Race: &quot;Koala&quot;
      }
   }
}
}
</code></pre>
<p>And I am generating this way:</p>
<pre><code>policy = ScriptAll([pub_key_policy, must_before_slot])
policy_id = policy.hash()

NFT_NAME = nft_name.encode(&quot;utf8&quot;)
metadata = {
            721: {  # 721 refers to the metadata label registered for NFT standard here:
                # https://github.com/cardano-foundation/CIPs/blob/master/CIP-0010/registry.json#L14-L17
                policy_id.payload.hex(): {
                    NFT_NAME: {
                        &quot;description&quot;: description,
                        &quot;name&quot;: name,
                        &quot;type&quot;: type,
                        &quot;image&quot;:&quot;ipfs://&quot; + nft.file
                    }
                }
            }
        }
</code></pre>
<p>I hope someone can help me :)</p>
<p><a href="https://i.sstatic.net/t7LNq.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/t7LNq.png" alt="enter image description here" /></a></p>

<nft><minting><metadata><python><nami>
Nami shows all minted NFTs in "Assets" tab instead of "Collectibles" tab
# Nami shows all minted NFTs in "Assets" tab instead of "Collectibles" tab

(Asked by: username_0 on 2023-01-20)

the following image illustrates my problem: all the NFTs I've been minting is being seen as normal native tokens instead of collectibles.
For example, for the ANIMALSP01#28, the metadata in the transaction is:
{
721:{
   58acb2cb1ae017ede95e8e0a5801e0b3fc3036296adc242490d53cfd: {
      414e494d414c53503031233238: {
         description: "",
         name: "Koala",
         type: "Animal",
         image: "ipfs://QmcYZXh9mjdNC1TfyPKWSbGF2LV5Y7Et75A5DwjjRktMUH",
         Race: "Koala"
      }
   }
}
}

And I am generating this way:
policy = ScriptAll([pub_key_policy, must_before_slot])
policy_id = policy.hash()

NFT_NAME = nft_name.encode("utf8")
metadata = {
            721: {  # 721 refers to the metadata label registered for NFT standard here:
                # https://github.com/cardano-foundation/CIPs/blob/master/CIP-0010/registry.json#L14-L17
                policy_id.payload.hex(): {
                    NFT_NAME: {
                        "description": description,
                        "name": name,
                        "type": type,
                        "image":"ipfs://" + nft.file
                    }
                }
            }
        }

I hope someone can help me :)

**Tags:** nft, minting, metadata, python, nami

---

## 1 answers

### Answer by username_1 on 2023-01-20. Score: 0 | Accepted answer

The asset name in the metadata should probably be "ANIMALSP01#28" instead of the hex representation ("414e494d414c53503031233238"), according to the version 1 of [CIP-025](https://github.com/cardano-foundation/CIPs/tree/master/CIP-0025).

> **Comments:**
> **username_0**: you are completely right. I was wrong because of the example given in the pycardano's repository  

---

