Inspiration

Learning to build a simple marketplace dApp on NFT.Storage

What it does

Built with React, and powered by Polygon, NFT.Storage, IPFS & Filecoin, Alchemy & Hardhat image

  • Users connect to the Platform via metamask wallet.
  • Users can select the type of artwork 'traditional' or 'digital'
  • Description of the NFT artwork
  • Country/Region of the creator
  • Price in Matic Token
  • When the NFT is minted, the metadata is stored to the IPFS permanently using NFT.Storage, and the produced hash is mapped to the NFT item in the smart contract.
  • These minted artworks are shown on the creators dashboard in the Explore Section, where users can buy artwork, for the listed price.
  • The funds get deposited from the message.sender to the creator of the tokenised artwork.
  • The metadata is fetched using a call via axios to ipfsGateWayURL =https://${urlArray[2]}.ipfs.nftstorage.link/${urlArray[3]}`,
  • to fetch the CID(content identifier) from the storage URL

1 2 3 4 5

Contract Addresses:

  • Token Address NFTeez.sol on Polygon Numbai Testnet : 0x4D2D611a95A7e724F736028611BA95D1fdc9cE5D View here: Etherescan Explorer ## How we built it # Smart Contract & web3 & Technologies
  • NFTeez.sol - Solidity & Open Zeppelin
  • NFT Storage Implemetation
  • Hardhat for deployment and testing
  • Alchemy for RPC Infrastructure
  • ReactJS, PostCSS, Axios

Challenges we ran into

  • Using NFT.Storage for the first time, to store metadata associated with the artwork NFT as opposed to using ipfs-http-gateway to pin files to IPFS.
  • Hardhat for deploying and testing contracts

Accomplishments that we're proud of

  • Creating a marketplace contract to list tokens on the marketplace and facilitate minting and buying in MATIC tokens

What we learned

  • Using NFT.Storage
  • Using Ethers, wagmi and web3modal

What's next for NFTEzz

  • Token Gated chat using Lit Protocol for members of the community (Users who mint on our marketplace)
  • Carbon offset tokens to be issued for every NFT minted and sold along with a ReFi calendar to award CO2 offset certificates
  • Aims to be a green marketplace on Polygon

Built With

Share this project:

Updates