rajkharvar / hello-world-nft

Hello World NFT πŸ’» Marketplace

Home Page:https://hello-world-nft.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hello World NFT πŸ’» Marketplace

Discover, collect and sell finest Hello World NFTs

Working

  1. Admin mint new NFT and put it on marketplace with listing price of 0.1 ETH.
  2. User can claim the NFT by paying listing price.
  3. User can place NFT that they owns on sale by demanding expected price.
  4. User can claim any other user NFT by paying bid price.

Tech Stack

Contracts: Solidity

Client: Nextjs, ChakraUI, Ethers

Indexer: TheGraph

Run Locally

Clone the project

  git clone https://github.com/rajkharvar/hello-world-nft.git

Go to the project directory

  cd hello-world-nft

Install dependencies

  npm install

Running contracts test

    npm test

To start client dev server

    cd client
    npm install
    npm run dev

Deploying subgraph to hosted service

    cd subgraph
    npm install
    npm run deploy

Note⚠: Before deploying subgraph make sure to update deploy script in package.json. Update rajkharvar/hello-world-nft with YOUR_USERNAME/PROJECT_NAME.

Environment Variables

To deploy the contracts, you will need to add the following environment variables to your .env file

PRIVATE_KEY

MUMBAI_URL

For client, you will need to add the following environment variables.

CONTRACT_ADDRESS

πŸ”— Links

Contract

Graph Endpoint

About

Hello World NFT πŸ’» Marketplace

https://hello-world-nft.vercel.app


Languages

Language:TypeScript 93.3%Language:Solidity 5.5%Language:JavaScript 1.0%Language:CSS 0.2%Language:Smarty 0.1%