Skip to content

Building an ERC721 contract where artists can mint their album covers using ERC721, Hardhat, Polygon & Web3Storage & IPFS

Notifications You must be signed in to change notification settings

dvlazarev451/album

 
 

Repository files navigation

MusicAlbumCoverNFT NFT Project

Building an NFT project that allows artists to mint their album covers as every new album release has a unique Album cover that might be plain photo or could bear the title, songs on the album, names of artists features, producers and mix engineers who worked on the project among other details. ❤️

Built With

  • Solidity
  • Open Zeppelin's ERC721, and ERC721URI classes
  • Polygon Mumbai
  • IPFS & Web3.Storage(uploading image & JSON file)

Live Demo

Deployed & Verified Contract

To interact with Contract via SafeMint

  • Enter your Address like: 0x34d9297629323795CE29190159206cDD81e6B2d2
  • Enter media like: https://ipfs.io/ipfs/bafybeie7durvevhi2endcfuy4osmhwfnuv23wsd6yk53sjg6vlkz2a5eay/metadata.json screenshot

NFT on OpenSea Testnet

OpenSea Testnet

screenshot

Getting Started

To get a local copy up and running follow these simple example steps.

$ Fork the repository
$ Git clone https://github.com/your-username/MusicAlbumCoverNFT
$ git checkout -b branch name
$ git remote add upstream https://github.com/jebitok-dev/MusicAlbumCoverNFT
$ git pull upstream master
$ git commit -m "commit message"
$ git push -u origin HEAD

To write, compile, deploy and verify contract locally

$ npx hardhat compile
$ npx hardhat run scripts/deploy.js --network mumbai
$ npx hardhat verify --network mumbai YOUR_SMARTCONTRACT_ADDRESS

Configuring Web3.Storage

  • upload media/json file to the web3.storage dashboard
  • create the metadata.json file configure according to OpenSea Metadata
  • copy CID of image and add to JSON file https://dweb.link/ipfs/YOUR_CID

Author

👤 Author

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgment

I hereby acknowledge the Encode Club and Polygon in collaboration with Covalent API for organizing this hackathon.

About

Building an ERC721 contract where artists can mint their album covers using ERC721, Hardhat, Polygon & Web3Storage & IPFS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 55.7%
  • Solidity 44.3%