Skip to content

This repository contains a suite of NFT marketplace smart contracts developed by Lorebit Studio, featuring ERC721 NFTs, ERC20 tokens, royalties, and a marketplace with platform fees.

License

Notifications You must be signed in to change notification settings

lorebitstudio/SOLIDITY-nft-marketplace

Repository files navigation

NFT Marketplace – Smart Contract Suite (Developed by Lorebit Studio)

This repository contains a suite of NFT marketplace smart contracts developed by Lorebit Studio, featuring ERC721 NFTs, ERC20 tokens, royalties, and a marketplace with platform fees.


🎮 Project Overview

This project implements a full-featured NFT marketplace with:

  • Mintable ERC20 token (ProjectToken) for payments.
  • Mintable ERC721 NFT (MyNFT) with royalty support.
  • Marketplace contract that allows listing, buying, and cancelling NFTs, while handling platform fees and royalties.

Players can:

✅ Mint NFTs.
✅ List NFTs for sale and cancel listings.
✅ Buy NFTs using ERC20 tokens.
✅ Platform owner collects a fee per sale.
✅ NFT owner collects royalties per sale.


👨‍💻 Lorebit Studio's Role

Lorebit Studio developed the complete system:

  • ERC20, ERC721 (with ERC2981 royalty support), and Marketplace contracts.
  • Deployment & verification scripts.
  • Automated tests & interaction scripts.

🔨 Contracts Included

Contract Description
ProjectToken.sol ERC20 token used as marketplace currency.
MyNFT.sol ERC721 NFT with royalty support via ERC2981.
Marketplace.sol Marketplace with listing, buying, platform fee, royalty handling.

🧠 Key Features

✅ ERC20 + ERC721 with metadata & royalties.
✅ Marketplace with platform fee & royalty split.
✅ Fully owner-restricted platform fee updates.
✅ Deployment & verification scripts.
✅ Hardhat tests & real-network interaction scripts.


🌐 Deployments

🧪 Testnet – Base Sepolia

Contracts Owner: 0xB94503C6a717BDD677ad9dAB7B450AF86d3Aa3F5

Contract Address
ProjectToken 0x96e770fbe4E2d05d3f3a0795Aa36488355BcAB67
MyNFT 0xe7BaB9134212AfEf33fE1bF03c5ba3FB780f2F1C
Marketplace 0x74b3BF7a75B3fDC75878086f811727b77a463BFa

🏗️ Built For

Lorebit Studio Portfolio Project
A demonstration of ERC721 royalties + ERC20 + marketplace logic deployed on a real EVM L2 testnet.


🧑‍💻 Developed By

Lorebit Studio
Smart Contract Development • Game Design • Fullstack Blockchain Engineering
🌐 lorebitstudio.com
✉️ contact@lorebitstudio.com


📄 License

This repository is licensed under the MIT License. See LICENSE for details.


⭐ Usage

This repository is intended for portfolio and showcase purposes.
If you are interested in hiring Lorebit Studio or using these contracts commercially, please get in touch!

About

This repository contains a suite of NFT marketplace smart contracts developed by Lorebit Studio, featuring ERC721 NFTs, ERC20 tokens, royalties, and a marketplace with platform fees.

Topics

Resources

License

Stars

Watchers

Forks