NFT Market place with hardhat and Next

NFT Marketplace

An awesome Web3 DAPP!

View Demo

About The Project

Web3 Dapp. Buy, sell, and showcase NFTs, over Polygon ethereum network.

Inspired by crypto.com/nft

Built With

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

Installation

Use yarn or npm to install dependencies

  1. Clone the repo

    git clone https://github.com/elPoeta/nft-marketplace.git
  2. Install NPM packages

      yarn install

    or

      npm install
  3. Clean

    yarn hardhat clean

    or

    npx hardhat clean
  4. Compile

    yarn hardhat compile

    or

    npx hardhat compile
  5. Start local ethereum network

    yarn hardhat node

    or

    npx hardhat node
  6. Deploy contract locally

    hardhat run --network localhost scripts/deploy.ts
  7. Tests

    yarn hardhat test

    or

    npx hardhat test
  8. Client

    cd client
  9. Install NPM packages

    yarn install

    or

    npm install
  10. Run

    yarn dev

    or

    npm run dev
  11. Visit http://localhost:3000 to view your application.

Metamask-Local

Metamask hardhat network configuartion

  1. Open metamask extension
  2. Add local test nework
    1. click combo box
    2. click add network button
  3. Add local network parameters
    1. Network Name: Hardhat-Localhost
    2. RPC URL: http://127.0.0.1:8545
    3. Chain ID: 31337
    4. Currency Symbol: ETH
  4. Show test network
    1. click icon
    2. click settings
    3. click advanced
    4. switch ON show test networks
  5. Select test network
    1. click combo box
    2. click Hardhat-Localhost
  6. Import private key
    1. click icon
    2. click Import Account
    3. enter hardhat private key
    4. click import

Faucet

Polygon faucet

https://faucet.polygon.technology/

  1. Select mumbai network
  2. Select MATIC token
  3. Paste your wallet address
  4. Submit and wait…

Demo

https://poether-nft.vercel.app/

License

Distributed under the MIT License. See LICENSE for more information.

GitHub

View Github