简体   繁体   中英

NFT from custom ERC-1155 smart contract not displaying correctly on Etherscan for Goerli test net

I have deployed an ERC-1155 smart contract to the Goerli test net at address: 0xE4e0b1FA4b3f4B947A14D429962eD30fEc9b9a96 ( Etherscan link )

I performed the first transaction on the smart contract, which transferred an NFT to this address: 0x771d8Ef1FA5b7fDE4cBd88925F21cF97D8b8A46D ( Etherscan link ).

If I open the ERC1155 Token Txns tab on Etherscan, I see the tokens in my account, however, I do not see a View NFT button next to the token, which is what I see if I were to purchase an NFT from OpenSea.

For context, this is what I would see in Etherscan for an NFT from OpenSea, with the View NFT button:

在此处输入图像描述

Here is the URI pointing to the token's metadata on IPFS: https://bafyreige3aa4bqeoy52rswmpkhzrlpitpvsyfp5hpusfuq52wdybuyerfi.ipfs.dweb.link/metadata.json

And here is the token's metadata:

{"name":"Goerli test 6","description":"","image":"https://bafkreidkn5flzjnvcdginsktvzbcrslqd7wrabjavejectvqxi2xq5v6bm.ipfs.dweb.link/"}

Is there anything in particular that must be done on my part so that Etherscan can preview the NFT? Or is it more likely that my smart contract or the metadata format is incorrect?

您的代码需要首先在 Etherscan 上发布。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM