August 11, 2023

NFT Market place with hardhat and Next

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][product-screenshot]](https://poether-nft.vercel.app/)

(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
  1. Install NPM packages
     yarn install

or

     npm install
  1. Clean
   yarn hardhat clean

or

   npx hardhat clean
  1. Compile
   yarn hardhat compile

or

   npx hardhat compile
  1. Start local ethereum network
   yarn hardhat node

or

   npx hardhat node
  1. Deploy contract locally
   hardhat run --network localhost scripts/deploy.ts
  1. Tests
   yarn hardhat test

or

   npx hardhat test
  1. Client
   cd client
  1. Install NPM packages
   yarn install

or

   npm install
  1. Run sh yarn dev or sh npm run dev
  2. 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
  3. click combo box
  4. click add network button

Logo
  1. Add local network parameters
  2. Network Name: Hardhat-Localhost
  3. RPC URL: http://127.0.0.1:8545
  4. Chain ID: 31337
  5. Currency Symbol: ETH

Logo
  1. Show test network
  2. click icon
  3. click settings
  4. click advanced
  5. switch ON show test networks

Logo Logo
  1. Select test network
  2. click combo box
  3. click Hardhat-Localhost

Logo
  1. Import private key
  2. click icon
  3. click Import Account
  4. enter hardhat private key
  5. 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

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

(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)

[product-screenshot]: images/screenshot.gif