About

About this NFT marketplace

This app is a full-stack NFT marketplace on the Sepolia testnet, powered by a smart contract, an indexer backend, and this Next.js frontend.

Get Sepolia test ETH

You'll need Sepolia ETH to mint, list, and buy NFTs. Use any of these faucets:

How it works

Smart contracts: The marketplace contract (and NFT contract) live on Sepolia. They handle listing, buying, cancelling, and updating listing prices.

Indexer backend: A Node/Express service listens to on-chain events (mints, transfers, listings, sales) and writes them into a PostgreSQL database via Prisma.

REST API: The frontend talks to the backend via endpoints like /marketplace/listings and /users/:wallet/nfts to fetch listings, user NFTs, and recent activity.

Frontend: This Next.js app uses wagmi, RainbowKit, and React Query to connect your wallet, call the contracts, and keep UI state in sync with the indexed data.