Loopring / loopring-wallet-feedback

钱包产品需求汇总(包括安卓和iOS)
10 stars 3 forks source link

Ambiguous Deploy Contract behavior for minted NFTs #182

Closed sk33z3r closed 2 years ago

sk33z3r commented 2 years ago

Background: Members on Discord have been curious about the Deploy Contract button that appears for NFTs after being minted. We received the following information from @odesium on Discord:

screenshot_20220227_183149

The issue is that we see some odd behavior with the NFTs if they are not deployed. Some issues include:


Questions


Screenshots:

How NFTs appear in my web app. Missing images are not deployed, viewable images are.

screenshot_20220227_174837

How NFTs appear in my mobile wallet. Unknow NFT are not deployed, others are. Unknow NFTs are not viewable in any circumstance, but the named NFTs are viewable if you tap on them.

signal-2022-02-27-184508_002

signal-2022-02-27-184508_001

jamaya23 commented 2 years ago

Same issue. Commenting for visibility on answers to OPs questions.

sk33z3r commented 2 years ago

We had a generous user in Discord volunteer to test my second question, and this is exactly how it works. If you mint something, then transfer to someone else, that other person can pay the gas fees to deploy your entire smart contract.

sk33z3r commented 2 years ago

The update for the Explorer UI was this fallback function, in case a metadata json is not found: https://github.com/Loopring/loopring-explorer/commit/9bbf2e6b1ad0c7ac334c1ed98915dfa15f59bb64#diff-8eb9fcb6584b0eceaacb3bf0e762bebe634f0fe12607d521fad3e9feaeeb4954R21

It's not a full solution, but it allows for old and new NFTs to be displayed in the explorer. I'm leaving this issue open for the time being as we still have some odd behavior in the mobile and web wallet views for the NFTs, the body of this bug is still relevant.

sk33z3r commented 2 years ago

I believe this is all very clear now. We've confirmed many times over now the differences between the Counterfactual NFTs and deployed NFTs. Other display issues are mostly sorted out now, so this is no longer muddying the waters.

Closing.