Closed hydraerozine closed 2 months ago
Also tested using another contract and the URI does not change on explorer. I did test with opensea on bsc testnet and worked
Checked :white_check_mark:
Version: 2.1.0-beta.2
:heavy_check_mark: setTokenURI
transaction.
:heavy_check_mark: Follow all the steps in the instruction.
NFT metadata and URI are changed on explorer. (https://prickly-wary-sirius.legacy-explorer.skalenodes.com/token/0x4BE95bA56fa3FfAbd5ff228cb04f0c5d86F2dDDA/instance/1)
Description
// SPDX-License-Identifier: MIT pragma solidity 0.8.19;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/interfaces/IERC2981.sol";
contract MarsTigerV2 is ERC721Enumerable, Ownable, IERC2981 { uint public constant MAX_NFT = 300; bool public hasSaleStarted = false; uint256 public counter = 0; mapping(address => bool) public hasMinted; string private _baseTokenURI;
}
the name and tag do not show up ERC721("MillKav Mars Tiger Skin", "SGMTS")
Type of the installation
Docker-compose
Type of the JSON RPC archive node
none
Type of the chain
No response
Link to the page
No response
Steps to reproduce
use the contract I sent.
Backend version
latest
Frontend version
No response
Elixir & Erlang/OTP versions
latest
Operating system
No response
Additional information
No response