Skip to content

Decentralized application for the nft-marketplace smart contract, built with React.

Notifications You must be signed in to change notification settings

DanielDimitrov5/NFT-Marketplace-FE

Repository files navigation

NFT Marketplace DApp with React

This repository contains a decentralized application (DApp) built using React.js that interacts with an NFT Marketplace smart contract. The application uses the NFT Marketplace SDK to facilitate interactions with the Ethereum blockchain.

NFT-Marketplace contracts

NFT-Marketplace-SDK

Table of Contents

Getting Started

https://nft-marketplace-lime.web.app/

Required network - Sepolia test network

Before running this application, make sure you have installed node and npm on your system.

  1. Clone the repository.
  2. Install the dependencies with npm install.
  3. Set up your environment variables.
REACT_APP_IPFS_PROVIDER={Infura IPFS provider}
REACT_APP_NETWORK={network}
REACT_APP_API_KEY={Infura API key}
  1. Start the development server with npm start.
  2. Build the application for production with npm run build.

Routes Description

  • / - The home page of the DApp. Main landing page with an overview of the marketplace.

  • /item/:id - Displays detailed information about a single NFT item based on the given ID.

  • /create-collection - Allows users to create a new NFT collection.

  • /mint-from - Displays a list of collections from which a user can mint NFTs.

  • /mint-from/:id - Allows users to mint new NFTs from a specific collection based on the given ID.

  • /collections - Displays a list of all collections available in the marketplace.

  • /collections/:id - Displays all nfts from a collection.

  • /add-item-from - Displays a list of collections from which a user can add items to the marketplace.

  • /add-item-from/:id - Allows users to choose items to add to the marketplace from a specific collection based on the given ID.

  • /list-item - Allows users to list items for sale in the marketplace.

  • /my-items - Displays a list of items owned by the current user.

  • /my-items/:id - Allows users to manage a specific item based on the given ID.

  • /my-offers - Displays a list of offers made by the user.

  • /user/:id - Displays all items owned by a user based on the given ID.

Images

Home page

Homepage Screenshot

Item page

Item Page

Mint NFT page

Mint NFT Screenshot

My offers page

My Offers Screenshot

Installation

  1. Clone the repository.
  2. Install the dependencies with npm install.
  3. Set up your environment variables.

Usage

  • Start the development server with npm start.
  • Build the application for production with npm run build.

🛠 Built with:

This project is built using the following dependencies:

Contributing

Contributions are welcome. Please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

About

Decentralized application for the nft-marketplace smart contract, built with React.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published