// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import "@openzeppelin/[email protected]/token/ERC721/ERC721.sol";
contract NFTERC721 is ERC721 {
uint256 private _nextTokenId;
constructor()
ERC721("NFTERC721", "NFT721")
{}
function safeMint(address to) public {
uint256 tokenId = _nextTokenId++;
_safeMint(to, tokenId);
}
}
This is the token contract code . I am trying to deploy this contract on Avalanche Fuji testnet , but I get an error . ( Refer the image attached )
why is the contract not getting deployed ?