Skip to content
This repository has been archived by the owner on Oct 1, 2023. It is now read-only.

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

trexx-games/nft-rent-marketplace-oasys

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NFT Rent Marketplace

DEMO MARKETPLACE

Click here to wach

DEMO INTEGRATION WITH SINGULARITY SDK

Click here to wach

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

  • API: This is the backend API service that handles all the business logic.
  • EVENT WORKER: This service listens for events on the blockchain and updates the application's database accordingly.
  • FRONT-END: This is the frontend service that provides the user interface for the platform.
  • SMART CONTRACTS: We have the Marketplace Smart Contract and a ERC-721 NFT Smart Contract.

Hackathon Plan

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
  • Oasys Blockchain

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. Publish the contracts on Oasys Blockchain

  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!

Contract Addresses deployed on Oasys Blockchain

BoomBoogersNFTs

0x7DEb7d43389Ec47ce00fa6d6293906faC756491f

NFTRentMarketplace

0x66Dd2308c4Ce5d75Dc27dc550912266bcb2Ec951

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

Languages

  • JavaScript 87.6%
  • Solidity 10.4%
  • Dockerfile 1.2%
  • Other 0.8%