Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

SimpleBaseNFT.sol

// SPDX-License-Identifier: MIT pragma solidity ^0.8.20;

// Importing OpenZeppelin standards directly for Remix compatibility import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol";

contract BaseBuilderNFT is ERC721, Ownable { uint256 public tokenCounter;

constructor() ERC721("Base Builder NFT", "BBNFT") Ownable(msg.sender) {
    tokenCounter = 0;
}

function safeMint(address to) public onlyOwner {
    uint256 tokenId = tokenCounter;
    _safeMint(to, tokenId);
    tokenCounter++;
}

}

About

No description, website, or topics provided.

Resources

Stars

10 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors