sidduHERE / polygon-NFT-marketplace

PNM - Polygon NFT MarketPlace on Mumbai network

Home Page:https://polygon-nft-marketplace-umber.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PNM( Polygon NFT MarketPlace )

NFT MarketPlace runs on Polygon Mumbai network with "Login With Unstoppable" as a login option.

Login with Unstoppable Demo Video

Working App

Person of Contact

Tech Stack

  • Typescript
  • Nextjs
  • Reactjs
  • Redux
  • Tailwindcss
  • solidity
  • Hardhat
  • IPFS
  • OpenZeppelin

Running Locally

  1. Clone the project

     git clone https://github.com/soheil555/polygon-NFT-marketplace.git
     cd polygon-NFT-marketplace
     
  2. Installing dependencies and compile contracts

    npm install
    npx hardhat compile
  3. Run a local hardhat network

npx hardhat node
  1. Deploy contracts on the local network

    npx hardhat run scripts/deploy.ts --network localhost 
  2. create .env file

    cp .env.example .env
  3. edit .env file and set values for:

    MUMBAI_URL= #not required for local network
    PRIVATE_KEY= #not required for local network
    NEXT_PUBLIC_NFT_CONTRACT_ADDRESS= #from step 4
    NEXT_PUBLIC_NFT_MARKET_CONTRACT_ADDRESS= #from step 4
    
    NEXT_PUBLIC_UAUTH_CLIENT_ID= #get it from https://unstoppabledomains.com/auth
    NEXT_PUBLIC_UAUTH_CLIENT_SECRET= #get it from https://unstoppabledomains.com/auth
    
    NEXT_PUBLIC_UAUTH_REDIRECT_URI=
    NEXT_PUBLIC_INFURA_ID=
  4. Start development server

npm run dev

License

available under the MIT license. See the LICENSE file for more info.

About

PNM - Polygon NFT MarketPlace on Mumbai network

https://polygon-nft-marketplace-umber.vercel.app

License:MIT License


Languages

Language:TypeScript 86.2%Language:Solidity 11.9%Language:JavaScript 1.1%Language:Shell 0.6%Language:CSS 0.1%