我已将ERC-1155智能合约部署到地址:0xe4e0b1fa4b3f4b947a14d429962ed30fec9b9a96( etherscan链接)
我在智能合约上执行了第一次交易,该交易将NFT转移到此地址:0x771D8EF1FA5B7FDE4CBD88925F21CF21CF97D8B8A46D(< etherscan链接)。
如果我在Etherscan上打开ERC1155代币TXNS选项卡,我会看到帐户中的令牌,但是,我看不到令牌旁边的视图NFT按钮,这就是我看到的是从OpenSea购买ANFT的内容。
对于上下文,这是我在eTherscan中看到的eTherscan,其中opensea的nft,带有视图NFT按钮:
<< img src =“ https://i.sstatic.net/xcyja.png” alt =“在这里输入图像说明”>
这是指向ipfs上的token元数据的URI:
这是令牌的元数据:
{"name":"Goerli test 6","description":"","image":"https://bafkreidkn5flzjnvcdginsktvzbcrslqd7wrabjavejectvqxi2xq5v6bm.ipfs.dweb.link/"}
有什么东西特别是我必须完成的,以便etherscan可以预览NFT?还是我的智能合约或元数据格式不正确?
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?
发布评论
评论(1)
您的代码需要首先在etherscan上发布。
Your code needs to be published on Etherscan first.