opencodeiiita/Learning-Smart-Contracts

Mint your first NFT - Task

Closed this issue · 0 comments

OPEN FOR ALL TASK, NO NEED TO CLAIM.

In this task you have to firstly:

  1. Upload an image file on IPFS, and get the link.
  2. Create a metadata file (.json) for your image file with the name of the NFT as "(YourName)'s NFT" and description as "Minted during Opencode'22". The image link in the metadata file should be the IPFS link you got in the above step.
  3. Then upload the metadata file on IPFS and get the link for that.

After that,

  1. Write a basic ERC721 compliant contract with a mint function.
  2. Name the token with your own name.
  3. Deploy the contract on Goerli testnet.
  4. Use your mint function to mint your image, with help of the link of the metadata file.
  5. Mint it to yourself (your address) and get the OpenSea (testnet) link of your newly minted NFT.
  6. Push your contract file (.sol) in the ERC721 folder and put the OpenSea link in your PR, along with a screenshot.

TO OBTAIN FULL POINTS, PR MUST CONTAIN:

  1. Link to the NFT on OpenSea.
  2. Link to the Contract on Etherscan.
  3. Screenshot of NFT on OpenSea.
  4. And the .sol file that you committed to the ERC721 folder, of course. The .sol file should contain the above links at the end of the code as comments.

This is a long task, with a little bit of a steep learning curve, but rewarding nonetheless. We will be providing all the resources you can follow for this task in the Discord channel. Ask any queries you have there only, mentors will guide you.

Good luck!