-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Global token ID #33
Comments
recent commentary on cosmos/ibc#615 needs reading and parsing when less tired && moar coffee |
Gut feel is the ICS is so geared towards IBC it misses our use case which is the same token ID, on the same chain, from different instances of the same contract. Welcome any thoughts on this @elsehow - don't want to show any prefix to users but seems like it might be worth writing it to storage and stripping it on read. Maybe exposing via a However, separate fields or relying on the contract meta is less portable than having it all in the ID, as that makes it:
|
I think this probably is an implementation detail though that shouldn't generally be exposed to users, hence the |
So, thinking about it |
other thought: the HOWEVER you do still need the meta/global id for provenance. So clearly at mint time the NFT should have an extra field with this. the question is, should it be a straight uuid, or is a compound identifier that contains its own meta acceptable? I think my preference is probably for |
Okay, so current working plan:
Actually, if this was on its own chain, you could reduce the problem back to an id that was unique at contract level. |
So the addressability issue is actually pushed to HTTP in web2 - because who cares if somebody mints the same name, if they can't route to it? Which means that at contract level, you're back to network effects I guess. And/or "web of trust" to actually make the service useful. |
It feels like there is a missing primitive here. Or maybe that this is the primitive, but it is still too rudimentary. |
as a wise cat once said to me "this is probably solved by interchain accounts" |
Thinking longer term and for some of the stuff under #29 we need a URI like way of globally referencing a token ID.
Something like:
e.g.
Should it be code? Contract address? i.e.
chain-id::contract-addr::token-id
What else is available as meta at runtime?The text was updated successfully, but these errors were encountered: