Skip to content

This project is an innovative marketplace for the rental of NFTs, each NFT being a game asset.

Notifications You must be signed in to change notification settings

dmitro3/nft-rent-marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NFTRentMarketplace

NFTRentMarketplace is a platform that allows users to rent their NFTs to others. The platform is built using a microservices architecture, with each service running in its own Docker container. The services include:

  • nft-rent-marketplace-api: This is the backend API service that handles all the business logic.
  • nft-rent-marketplace-worker: This service listens for events on the blockchain and updates the application's database on Space and Time accordingly.
  • nft-rent-marketplace-client: This is the frontend service that provides the user interface for the platform.

nft-rent-mktplace-architecture

The NFTRentMarketplace is a robust and efficient platform for NFT rentals, built with a variety of technologies to ensure a seamless user experience. Here's a brief overview of what we have used to built the system:

  • Lambda AWS + Api Gateway
  • Elastic Container Service AWS
  • AWS S3
  • Chainlink Functions + Automations
  • Chainlink VRF
  • Chainlink DataFeed
  • Space and Time

Here you can find comprehensive documentation detailing the functionality and usage of the NFTRentMarketplace API.

How to Test

To test the NFTRentMarketplace, follow these steps:

  1. Ensure you have Node.js v18 installed. If you're using nvm, you can switch to v18 with the following command:
nvm use 18
  1. Navigate to each service's directory and install the necessary dependencies:
cd ./api
npm install

cd ../client
npm install

cd ../workers
npm install
  1. Copy the provided .env.example files to .env in each service's directory.

  2. Import the provided private key into your MetaMask wallet.

  3. Start the services using Docker Compose:

docker-compose up
  1. Navigate to localhost:3000 in your web browser.

  2. From here, you can add your items to a pool.

  3. Switch to a different MetaMask account and rent an item from the pool.

Enjoy testing the NFTRentMarketplace!

Important Notice!

Please be aware that occasionally, the Space and Time API might experience intermittent issues, which could result in the pools not being displayed on the page as expected. If you encounter this situation, a simple page refresh usually resolves the issue. We appreciate your understanding and patience!

Contract Addresses deployed on Polygon Mumbai

Chainlink Automations

0xECFEAcAF4485Ac6121e997F3b15db23731D8c63C

Link to Chainlink Automations page https://automation.chain.link/mumbai/63292638924533328737958263471889951271068760855989613073193221825799424017776

BoomBoogersNFTs

0xfeE7b77D45ef6A6d5083E4C3Ae80b9145DD6F975

NFTRentMarketplace

0x95b761a342176dE1a54c2C71CA32A518a4e0f871

About

This project is an innovative marketplace for the rental of NFTs, each NFT being a game asset.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published