Skip to content

incregeni/NFTMarketplaceWithHardhatAndNext

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

NFT Marketplace

An awesome Web3 DAPP!
Explore the docs »
· View Demo ·

Table of Contents
  1. About The Project
  2. Getting Started
  3. Demo
  4. License
  5. Contact
  6. Acknowledgments

About The Project

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

Inspired by crypto.com/nft

Product Name Screen Shot

(back to top)

Built With

  • Node
  • Typescript
  • Next
  • Tailwind
  • Solidity
  • Hardhat

(back to top)

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.

(back to top)

Metamask-Local

Metamask hardhat network configuartion

  1. Open metamask extension
  2. Add local test nework
    1. click combo box
    2. click add network button
    Logo
  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
    Logo
  4. Show test network
    1. click icon
    2. click settings
    3. click advanced
    4. switch ON show test networks
    Logo Logo
  5. Select test network
    1. click combo box
    2. click Hardhat-Localhost
    Logo
  6. Import private key
    1. click icon
    2. click Import Account
    3. enter hardhat private key
    4. click import
    Logo Logo

(back to top)

Faucet

Polygon faucet

https://faucet.polygon.technology/

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

Demo

(back to top)

License

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

(back to top)

Contact

Leonardo Tosetto - leonardo.a.tosetto@gmail.com

Project Link: https://github.com/elPoeta/nft-marketplace

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

(back to top)

Acknowledgments

(back to top)

About

NFT Market place with hardhat and Next

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published