Skip to content

Sourya3-14/Decentralized-NFT-MarketPlace

Repository files navigation

🎨 NFT Marketplace

A decentralized NFT marketplace built with React, Wagmi, and The Graph

License: MIT React Ethereum

✨ Features

  • 🛒 Buy & Sell NFTs - Browse and trade NFTs with secure smart contracts
  • 💰 Manage Listings - List, update prices, and cancel NFT sales
  • 🔄 Real-time Updates - GraphQL-powered live marketplace data
  • 💎 Rich Metadata - Full IPFS support with images and traits
  • 🔐 Wallet Integration - Connect with MetaMask and other wallets

🚀 Quick Start

# Install dependencies
npm install

# Start development server
npm run dev

🎯 How to Use

Buy NFTs

  1. Connect your wallet
  2. Browse the marketplace
  3. Click "Buy" on any NFT you like
  4. Confirm the transaction

Sell NFTs

  1. Click "List NFT" and enter details
  2. Approve the marketplace (one-time)
  3. Set your price and list
  4. Manage listings in "My NFTs"

🛠️ Tech Stack

  • Frontend: React + Wagmi + Viem
  • Blockchain: Ethereum + Solidity
  • Data: The Graph Protocol + GraphQL
  • Storage: IPFS for metadata

📋 Smart Contracts

Marketplace (0x7A65E80E6C332947b0CAc981095F48d6c65dc78D)

function listItem(address nftAddress, uint256 tokenId, uint256 price)
function buyItem(address nftAddress, uint256 tokenId)
function updateListing(address nftAddress, uint256 tokenId, uint256 newPrice)
function cancelListing(address nftAddress, uint256 tokenId)
function withdrawProceeds()

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published