Skip to content

Instantly share code, notes, and snippets.

View topcook's full-sized avatar
🏠
Working from home

Code Cooker topcook

🏠
Working from home
  • Remote
View GitHub Profile
@topcook
topcook / marketplace.sol
Created May 21, 2022 15:12 — forked from dabit3/marketplace.sol
NFT Marketplace Smart Contract (V2)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "hardhat/console.sol";
contract NFTMarketplace is ERC721URIStorage {