hatim85/Melodify ? reverse-engineered prompt

Reverse engineered prompt

Build me a music NFT marketplace where people can connect MetaMask, upload a song and cover art, mint it as an NFT, and put it up for sale. I want the app to store the audio, image, and metadata on IPFS through Pinata, then use a smart contract to handle minting, listing, buying, and reselling.

The site should feel like a simple marketplace with pages for browsing NFTs, creating a new one, seeing my owned NFTs, seeing listed NFTs, and viewing details for a single NFT. Make sure the wallet connection works cleanly, prices are handled correctly, and the app can fetch metadata and display the music and artwork properly.

Use the existing blockchain contract setup and frontend structure if possible, and if anything is missing, fill it in in a sensible way. If you need current docs for any libraries or wallet behavior, look them up online and keep it practical.