Discover, collect and sell finest Hello World NFTs
- Admin mint new NFT and put it on marketplace with listing price of 0.1 ETH.
- User can claim the NFT by paying listing price.
- User can place NFT that they owns on sale by demanding expected price.
- User can claim any other user NFT by paying bid price.
Contracts: Solidity
Client: Nextjs, ChakraUI, Ethers
Indexer: TheGraph
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
.
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