Skip to content

Instantly share code, notes, and snippets.

View saurabhghatnekar's full-sized avatar
🎯
Focusing

Saurabh G Ghatnekar saurabhghatnekar

🎯
Focusing
View GitHub Profile
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract OnChainNFT is ERC721("OnChainNFT", "OCHN"), Ownable {
struct NFT {
uint256 id;