NFT-Rental-Marketplace

💎NFT Rental Marketplace 💸Collateral Free Renting🆓

💎Check Out 🔔 nft-rental-marketplace.netlify.app

Project Description 📝

💎Fullstack NFT Rental Marketplace Dapp ✨Collateral Free Renting✨

rental_poster1

Working Explained In Detail

Working Explained In Detail

- Anyone who has created a ERC721 contract with additional functions similar to NFT.sol can list their NFTs for Rent in the Marketplace. - When an owner lists a NFT for rent in the Marketplace, the ownership of the item will be transferred from the owner to the marketplace. - Anyone can rent the NFTs listed in the marketplace by paying rent. - When a user rents a NFT, the rental price will be transferred from the buyer to the seller and the NFT will be transferred from the marketplace to the renter. - The Renter will not be able to transfer the NFT to anyone, because the NFT.sol contract prevents the token transfer while it is on rent. - Finish Renting function will enable anyone to end the renting process, and return the NFT to the NFT Owner. The marketplace owner will be able to set a listing fee. This fee will be paid by the NFT owner when listing NFT in the renal marketplace, and transferred to the contract owner, enabling the owner of the marketplace to earn recurring revenue from any listing transacted in the marketplace.

alt text

About Contracts 📄

This Project Is Deployed On Polygon Mumbai Testnet [Check Out The Contract At]

This project consists of two smart contracts:

About Frontend 🎨🖌 - Frontend Code Is Here

This project consists of five pages

Directory Structure 📂

How To Run This Project Locally 🏃🏾‍♂️💨

Clone This Repo


git clone https://github.com/ShivaShanmuganathan/NFT-Rental-Marketplace.git
cd NFT-Rental-Marketplace

Install Dependencies

npm install

Rename .secret-example to .secret ⏩ Then paste your private-key in the .secret file

Compile The Contracts & Test It


npx hardhat compile
npx hardhat test

Frontend Instructions

git clone https://github.com/ShivaShanmuganathan/rental-marketplace-frontend
cd rental-marketplace-frontend
npm install
npm run dev

Working Explained In Detail 📃

The marketplace owner will be able to set a listing fee. This fee will be paid by the NFT owner when listing NFT in the renal marketplace, and transferred to the contract owner, enabling the owner of the marketplace to earn recurring revenue from any listing transacted in the marketplace.

Gas Report ⛽

image

Test Coverage Report 🛸

image

Demo GIF 🎥

NFT-Rental-Marketplace-28-March-2022