NFT Marketplace

This is for a final proyect of web3 bootcamp: NFT Marketplace.

  • Hardhat proyect in Typescript
  • Contracts using OpenZeppelin ERC721Token
  • Deployed NFT Market contract on Ropsten Testnet
  • Deployed NFT Contract on Ropsten Testnet
  • Nextjs frontend
  • Wagmi to connect to metamask
  • IPFS store for NFTs data
  • Zustand for store state
  • Deployed with vercel NFT Marketplace frontend

Hardhat Proyect

Install

npm install

Test

npx hardhat test
GAS_REPORT=true npx hardhat test

Deploy

.env file in root folder is needed with the following content:

PRIVATE_KEY=<private key>
ALCHEMY_API_KEY=<alchemy api key>
Locally:
npx hardhat run scripts/deploy.ts --network localhost --network

Deploy to ropsten network:

npx hardhat run scripts/deploy.ts --network ropsten

Frontend Proyect (frontend folder)

Install

cd frontend
yarn install

Run local server (localhost:3000)

yarn dev