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.
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.
- Clone the repository.
- Install the dependencies with
npm install
. - Set up your environment variables.
- Start the development server with
npm start
. - Build the application for production with
npm run build
.
-
/
- 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.
- Clone the repository.
- Install the dependencies with
npm install
. - Set up your environment variables.
- Start the development server with
npm start
. - Build the application for production with
npm run build
.
This project is built using the following dependencies:
- react ^18.2.0
- antd ^5.6.1
- ethers ^5.7.2
- ipfs-http-client ^60.0.1
- nft-mp-sdk ^1.1.2
- react-router-dom ^6.3.0
- wagmi ^0.10.10
Contributions are welcome. Please open an issue or submit a pull request.
This project is licensed under the MIT License.