GithubHelp home page GithubHelp logo

mercadonft's Introduction

MercadoNFT

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.

Features

  • 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.



Alt text

Tech Stack

Frontend

  • 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.

Backend

  • 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.

Update Functionality

ALT

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

Requirements

  • 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:

Cloning the repository

    git clone https://github.com/Smr0303/MercadoNFT.git

Deploying the backend first

    cd backend
    yarn

Deploy Contracts

yarn hardhat deploy

Testing

yarn hardhat test

Deployment to a testnet or mainnet

  1. 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
  1. Get testnet ETH

  2. Deploy

yarn hardhat deploy --network sepolia

The Deployment of Frontend is within the README of frontend folder

mercadonft's People

Contributors

smr0303 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.