Skip to content
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

"Add Collectibles" not working being connected to different chains than Mainnet #2110

Closed
BennyTheDev opened this issue Jan 12, 2021 · 8 comments
Labels
community Issues or PRs opened by the MM community NFTs issues related to collectibles - ERC721, ERC1155 technical research type-bug Something isn't working

Comments

@BennyTheDev
Copy link

BennyTheDev commented Jan 12, 2021

Description

Adding a ERC 1155 collectible through "Collectibles" => "Add Collectible" will always return an error "You aren't the owner of this collectible." This error is currently is a catch all message based on failure. We may need to add more check cases to display the correct error. More importantly, we'll need to add support for ERC 1155 NFTs.

To Reproduce

  1. Switch to a different network (in my case xDai)
  2. Create an NFT, for example within an ERC1155 collection
  3. In MM click on "Collectibles" => "Add Collectible"
  4. Enter the address of the collection and the ID of the collectible
  5. Wait for the ownership error

Acceptance Criteria

  • Collectibles should be addable and show regardless of the chain being used.

  • Try to test on:

    • Device: Galaxy Fold 1
    • OS: Android 10
    • Most recent at the time of writing

Questions

  • How critical is the impact of this bug on a user?
  • Add stats if available on % of customers impacted
  • Is this visible to all users?
  • Is this tech debt?

Notes

By quickly checking the code, I assume that checking the ownership operates on mainnet still as the Opensea API seems to be used, only supporting Mainnet and Rinkeby.

to be added after bug submission by internal support / PM
Severity

@BennyTheDev BennyTheDev added the type-bug Something isn't working label Jan 12, 2021
@SvenMeyer
Copy link

Actually it works using Kovan. I was able to get my (simple) ERC721 getting displayed in Metamask mobile once I manually (!) entered the contract address and Collectible ID.
Ideally Metamask mobile would discover the NFT (like etherscan) by itself.
A QR scan option for the address would help at least a little bit as well.
Have not tested if my NFT would automatically been found and displayed on Mainnet though ...

@BennyTheDev
Copy link
Author

Then it is different with Kovan and/or ERC721 as ERC1155 definitely doesn't work (tried xDai, Sokol, Binance Smart Chain)

@omnat
Copy link
Contributor

omnat commented Jan 27, 2021

Hi @crosstec Are ERC1155 working for you as expected on Mainnet and other default networks (rinkeby, kovan, etc.)?

@omnat omnat added custom network NFTs issues related to collectibles - ERC721, ERC1155 labels Jan 27, 2021
@mobularay
Copy link
Contributor

A different ticket 2391 / PR 2441 should have solved this issue.

@BennyTheDev, can you confirm if this issue has been resolved for you? Pls let us know. If we don't hear back from you by next week, we'll close this issue :-) Thank you!

@gantunesr gantunesr added the community Issues or PRs opened by the MM community label Sep 14, 2021
@mobularay mobularay added technical research and removed type-bug Something isn't working labels Sep 27, 2021
@mobularay
Copy link
Contributor

Related to #2963. Next steps: discussion @gantunesr @omnat @mobularay @Cal-L

@mobularay mobularay added the type-bug Something isn't working label Oct 7, 2021
@omnat
Copy link
Contributor

omnat commented Oct 7, 2021

@gantunesr
Support for ERC-1155 - how do we do it? Both for auto-detection & adding custom NFTs

  1. OpenSea API
    2. Support the contract ABI of 1155

@gantunesr
Copy link
Member

gantunesr commented Oct 29, 2021

@BennyTheDev this should be fixed with #3301 and #3343

@gantunesr
Copy link
Member

Fixed in v3.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Issues or PRs opened by the MM community NFTs issues related to collectibles - ERC721, ERC1155 technical research type-bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants