Skip to content

Instantly share code, notes, and snippets.

@casweeney
Created November 20, 2023 09:40
Show Gist options
  • Save casweeney/f0f361197de6100fd6287b5f2e38139b to your computer and use it in GitHub Desktop.
Save casweeney/f0f361197de6100fd6287b5f2e38139b to your computer and use it in GitHub Desktop.
// 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