Created
November 20, 2023 09:40
-
-
Save casweeney/f0f361197de6100fd6287b5f2e38139b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.4; | |
import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; | |
import "@openzeppelin/contracts/access/Ownable.sol"; | |
contract HooziNFT is ERC721, Ownable { | |
constructor() ERC721("HooziNFT", "HOZ") Ownable(msg.sender) {} | |
function safeMint(address to, uint256 tokenId) public onlyOwner { | |
_safeMint(to, tokenId); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment