Polygon mainnet erc721 image con't display in the browser

env

using Foundry.
solc: 0.8.20

forge script erc721 nft (github code)

xuegao-web3/script/DeployNewNftManager.s.sol at solidity_mint_erc721_json_url · WarriorFromLongAgo/xuegao-web3 (github.com)

polygon mainnet

Fishcake Pass NFT (FNFT) Token Tracker | PolygonScan

cast send create NFT

cast send 0x3b9cBcf6865a8F66C1461213F901b3ef085f6A2E  "createNFT(uint8)" 1 --rpc-url $env:RPC_URL --private-key $env:PRIVATE_KEY
cast send 0x3b9cBcf6865a8F66C1461213F901b3ef085f6A2E  "createNFT(uint8)" 2 --rpc-url $env:RPC_URL --private-key $env:PRIVATE_KEY

cast call tokenURI success, but it's can't display in the browser

cast call 0x3b9cBcf6865a8F66C1461213F901b3ef085f6A2E "tokenURI(uint256)(string)" 0 --rpc-url $env:RPC_URL
"https://www.fishcake.org/image/2.json"
cast call 0x3b9cBcf6865a8F66C1461213F901b3ef085f6A2E "tokenURI(uint256)(string)" 1 --rpc-url $env:RPC_URL
"https://www.fishcake.org/image/1.json"


it's can't display in the browser

I waited for a day, finally unable to display

:smiling_face_with_tear: :smiling_face_with_tear: :smiling_face_with_tear:

end

Just now, I can see the nft image.

I don't know what I did, but I used the mouse to click the 'refresh metadata' button.

I remember that yesterday, I clicked it multiple times.

1 Like

Yeah, maybe we just need to wait for more time.

1 Like