Skip to content

Instantly share code, notes, and snippets.

View motolaji's full-sized avatar

Omotolani Jaji motolaji

View GitHub Profile
@motolaji
motolaji / marketplace.sol
Created April 6, 2022 17:08 — 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 {