# Is it possible to generate two assets with the same name?

**URL:** <https://forum.algorand.co/t/is-it-possible-to-generate-two-assets-with-the-same-name/2459>\
**Category:** General\
**Created:** [January 20, 2021, 5:24pm UTC](https://forum.algorand.co/t/is-it-possible-to-generate-two-assets-with-the-same-name/2459 "2021-01-20T17:24:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AndC](https://avatars.discourse-cdn.com/v4/letter/a/9de053/32.png) [@AndC](https://forum.algorand.co/u/AndC)\
**Post date:** [January 20, 2021, 5:24pm UTC](https://forum.algorand.co/t/is-it-possible-to-generate-two-assets-with-the-same-name/2459/1 "2021-01-20T17:24:57Z")

</div>

Hi everybody. I am trying to generate two assets that have the same unit name and asset name but different metadata hash. Every time I try, however, the metadata hash of the first asset is overwritten by the second. is there any way around this problem?

UPDATE: Using algoexplorer I realized that the asset has the correct metadatahash field, but if I go to search for them with the indexer by performing a search based on the unit name or the asset name I get the wrong result

---

<div class="post-metadata">

**Author:** ![fabrice](https://avatars.discourse-cdn.com/v4/letter/f/5fc32e/32.png) [@fabrice](https://forum.algorand.co/u/fabrice)\
**Post date:** [January 20, 2021, 6:39pm UTC](https://forum.algorand.co/t/is-it-possible-to-generate-two-assets-with-the-same-name/2459/2 "2021-01-20T18:39:36Z")

</div>

None of the asset fields are ensured to be unique.  
Multiple assets can have the same name, metadata hash, unit name, …

The only way to uniquely identify an asset is by its asset ID.

When you type the asset name in the search bar, [algoexplorer.io](http://algoexplorer.io) show you all the assets with this name.  
See screenshot below where I am searching for assets named “tiger” on TestNet:

 ![Screen Shot 2021-01-20 at 1.32.25 PM](https://us1.discourse-cdn.com/flex016/uploads/algorand/original/1X/2c59fed56d81fb553a3e34da97e056796b330f49.png)

---

<div class="post-metadata">

**Author:** ![Tim](https://avatars.discourse-cdn.com/v4/letter/t/ce73a5/32.png) [@Tim](https://forum.algorand.co/u/Tim)\
**Post date:** [January 20, 2021, 6:48pm UTC](https://forum.algorand.co/t/is-it-possible-to-generate-two-assets-with-the-same-name/2459/3 "2021-01-20T18:48:43Z")

</div>

When I search indexer using `name=tiger`, I get all four of those back as well.
