-
Notifications
You must be signed in to change notification settings - Fork 8
Is tokenId + issuer id a good approach in terms of usability? #21
Description
(copy pasted from Discord discussion)
I was thinking about tokenId, the one used in conjunction with issuer to create a chain. Initially tokenId was meant to be a global identifier, like a DNS, for a human to find a token. But we changed that to avoid squatting problem, and I'm wondering what does tokenId mean now. It is no longer a string that allows you to query for data easily, as you need to add the issuer chain, which is not really human friendly. Having token id + issuer id as global identifier requires for a user to pass 2 arguments, which is also annoying in term of UX. The chainId is the global identifier of a token in the end... If tokenId is for display, we also have a "name" attribute in the issuance that also serves that role... so in the end I'm not sure this tokenId brings any benefit to the table and more drawback. And related to that, the fact that you have to create first an entry with tokenId + issuer, and then only make an issuance, forcing you to wait up to 10 minutes to have a functional token is not cool from UX point of view.
My idea would be to just remove the chainId derivation based on tokenId + issuer, have a chain that starts with a first entry that is the issuance. And the chainId becomes the globally addressable tokenId, and the human readable name is the "name" field in issuance.
Let me know what you think and if I'm missing something