env
using Foundry.
solc: 0.8.20
forge script erc721 nft (github code)
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