Mercado NFT is a decentralized marketplace that allows users to list, buy, and sell NFTs.This ensures a secure, transparent, and efficient platform for digital asset transactions. This marketplace uses Pinata to upload NFT images to IPFS and indexes emitted events into a graph database for faster querying, eliminating the need to repeatedly query the blockchain for fetching NFTs.
- Decentralized Marketplace: List, buy, and sell NFTs seamlessly.
- Pinata Integration: Upload and store NFT images on IPFS for decentralized and reliable storage.
- Graph Database Indexing: Efficiently indexes events into a graph database, providing a faster and more efficient querying system without the need to constantly query the blockchain.
- Next.js: A React framework for building fast, server-side rendered applications.
- Web3uikit: A collection of essential UI components for blockchain applications.
- Apollo Client: A comprehensive state management library for JavaScript that enables you to manage both local and remote data with GraphQL.
- Hardhat: A development environment to compile, deploy, test, and debug Ethereum software.
- Pinata: A service to manage and pin files to IPFS.
- The Graph: An indexing protocol for querying blockchain data with GraphQL.
This application also provides the user , the ability to list his or her listed NFTS.
Do not try to clone the app and run as several issues have occured . The repository will be updated soon in future
- git
- Nodejs
- You'll know you've installed nodejs right if you can run:
- Yarn instead of
npm
- You'll know you've installed yarn right if you can run:
git clone https://github.com/Smr0303/MercadoNFT.git
cd backend
yarn
yarn hardhat deploy
yarn hardhat test
- Setup environment variabltes
You'll want to set your SEPOLIA_RPC_URL
and PRIVATE_KEY
as environment variables. You can add them to a .env
file
PRIVATE_KEY
SEPOLIA_RPC_URL
-
Get testnet ETH
-
Deploy
yarn hardhat deploy --network sepolia